GridVisibleRange and GridVisibleRangeSuppor [message #922367] |
Tue, 25 September 2012 00:46  |
Eclipse User |
|
|
|
Hi,
I just downloaded new grid widget pluggin. I noticed there is GridVisibleRange()method in Grid and GridVisibleRangeSupport class. Are these used to determine visible items
at any given point? Has anybody implemented this?
Thanks,
Dhiresh
|
|
|
|
Re: GridVisibleRange and GridVisibleRangeSuppor [message #956056 is a reply to message #922367] |
Wed, 24 October 2012 07:53   |
Eclipse User |
|
|
|
Hey Tom,
I have another question for you:
I'm (trying to )using this GridVisibleRange now due to complians about slow performance in a table.
But using this, I can't set another input via "setInput()" to change the tables content. I think the VisibleRange prohibits that.
Is there any chance to combine both?
thanks,
Torsten
|
|
|
Re: GridVisibleRange and GridVisibleRangeSuppor [message #956282 is a reply to message #956056] |
Wed, 24 October 2012 11:37  |
Eclipse User |
|
|
|
Solved!
I simply throw away the complete table and build up a new one.
I expect to be able to sort and filter in the data, so I'll also just use the mechanism for that.
tableViewer.getControl().dispose(); // kill
tableViewer = createTableViewer(getParent()); // new
tableViewer.setInput(oModel.getData()); // fill
getParent().layout(); // fire!
[Updated on: Mon, 29 October 2012 08:12] by Moderator Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.15852 seconds