|adding content to a table if user scrolls down [message #466191]
||Wed, 04 January 2006 18:53
Originally posted by: ingo.siebertNOSPAM.cas.de|
I load 100 rows from the DB and add them to the table.
If the vertical ScrollBar of table has a value of
(scrollBar.getMaximum() / 3)
i want to load the next 100 rows and add them to the table.
It got that working.
But i tested it at a very big monitor and the 100 rows has been place
nearly complete at the table, so the value of the scrollbar never
reached (scrollBar.getMaximum() / 3). That's why the next 100 rows never
In Swing, i used the
getValueAt(int rowIndex, int colIndex)
method of my table model. If rowIndex was big enough, i loaded the next
But in SWT, there isn't such a method. The label provider only gets the
data and the column index, but not the row.
Any idea how to solve this problem in SWT?
Powered by FUDForum
. Page generated in 0.02843 seconds