[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Huge table, records, scrolling, etc.

Hi.

Mr. Burns wrote:
I cannot catch the point what the advantage of KTable should be.

KTable was developed before the SWT Table got the VIRTUAL extension to solve exactly this issue. Now that the SWT Table can also be virtual, KTable's strength lies more in non-database-related features like fancy selection modes, custom cell renderers, cell spanning etc.


I use KTable with MySQL (actually wrote it for that purpose). My TableModel uses a scrollable ResultSet. My average customer has about 1000 records with up to ten (not very active) users connected to the server and the performance is very good. There is a short delay when fetching the first record but this seems to be nearly independent of the number of records in the table.

If you are not sure whether you need caching or not, I would suggest a simple implementation using SWT Table or KTable first and then, if it fails to please, put more tuning effort into it later. I would say that KTable gives you more flexibility for the Data-View Interface, but if you started with SWT table, this might be the way for you to go.

Regards,
Friederich

--
Friederich Kupzog
Elektronik & Software
Neusser Str. 5-7
50670 Köln
Tel 0241 160696-1
Fax 0221 726670
www.kupzog.de/fkmk