| GridVisibleRange and GridVisibleRangeSuppor [message #922367] |
Mon, 24 September 2012 20:46  |
Dhiresh Missing name Messages: 77 Registered: July 2009 |
Member |
|
|
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 03:53   |
Torsten Harms Messages: 3 Registered: October 2012 |
Junior Member |
|
|
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
I never finish anyth...
|
|
|
| Re: GridVisibleRange and GridVisibleRangeSuppor [message #956282 is a reply to message #956056] |
Wed, 24 October 2012 07:37  |
Torsten Harms Messages: 3 Registered: October 2012 |
Junior Member |
|
|
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!
I never finish anyth...
[Updated on: Mon, 29 October 2012 04:12] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01559 seconds