Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » How to efficient upadate the whole data of a NatTable?
How to efficient upadate the whole data of a NatTable? [message #1384911] Tue, 03 June 2014 04:30 Go to next message
Robin Zhou is currently offline Robin ZhouFriend
Messages: 42
Registered: December 2010
Member
Hi, all

How to change the whole content of the data provider of a NatTable, just like the JFace's setInput() method?

Thanks,
Jingang Zhou
Re: How to efficient upadate the whole data of a NatTable? [message #1384918 is a reply to message #1384911] Tue, 03 June 2014 07:05 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 1405
Registered: July 2012
Senior Member
That depends on your data provider implementation. I usually create a list on whose reference I'm working, like clean and addAll(). Dependent on the list you are using you need to call refresh or wait for event handling.

I think there should be some posts on that in the forum already.
Previous Topic:get the selected object when double click on Nattable cell
Next Topic:Adding Labels to specific cells
Goto Forum:
  


Current Time: Sun Nov 23 11:05:22 GMT 2014

Powered by FUDForum. Page generated in 0.12557 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software