Hi all,
I need to build a table from SQL select result set. I want to add some paging functionality to the table because the result set can be very large. There was many discussions how to do the paging at the SQL level. But how to implement the paging at the GUI level? I have two ideas:
- Do the paging in a web UI style - for example google search result paging;
- "Excel style" - the scroll pane where the table resides expands as user scrolls down.
The second one looks nicer but complex to implement. When to do SQL select for a next chunk of data so that a user haven't wait for it. There shoul'd be some "read ahead" logic? What will happen if user srolls quite quickly? What to do with rows that aren't visible any more to have constant memory usage? Maybe there is allready such a table component or good examples? Or maybe this good looking table functionality is unworthy of efforts to implement it?
Thanks for your ideas, Marius