| [news.eclipse.platform.swt] Re: Huge table, records, scrolling, etc. |
HTH Stefan
Hello, thanks for reply,
I know already to cache some records, to avoid a SELECT * statement sent to database every time the SetData trigger is executed. This is already clear. And how many records I should cache I can easily test with try and error. But my question is HOW should I cache???
Should I use a vector to holde e.g. 25 records, or should I use a 2nd non virtual table and copy to the virtual table if next 25 records are requested to be visible? Or are ther other possibilities? What are the pros and cons of using vector / non virtual table / etc. ?
Thanks for further discussion!