Skip to main content


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
Jingang Zhou is currently offline Jingang ZhouFriend
Messages: 57
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: 2902
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:Mouse Event Handling Problem
Goto Forum:
  


Current Time: Thu Apr 25 19:50:33 GMT 2024

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

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

Back to the top