Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » NatTable clear configuration(How to clear configuration)
NatTable clear configuration [message #1723532] Tue, 16 February 2016 12:38 Go to next message
Juraj Lodnan is currently offline Juraj LodnanFriend
Messages: 3
Registered: February 2016
Junior Member
Hi

is there any way how to clear configuration in NatTable?

Currently everytime TYPE of our input data changes, NatTable.addConfiguration(new MasterConfiguration()) is called in our code. But this leads to the problems with filters.
Everytime there is TYPE of input data changed, new configuration is registered, instead of replaced. And it means that for N changes there is N configurations registered.

It would be helpful if there is clearConfigurations() method.
Re: NatTable clear configuration [message #1723603 is a reply to message #1723532] Tue, 16 February 2016 17:57 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
addConfiguration() is only intended to be called for initialization and useless at runtime. If it works for you, you are calling configure() at runtime which is also wrong.

Operate on the configuration objects if you need to modify the configuration at runtime
Previous Topic:How to create auto suggestive Combobox
Next Topic:Having issue with Mapping Child-Parent in Tree
Goto Forum:
  


Current Time: Thu Apr 25 02:08:51 GMT 2024

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

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

Back to the top