Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Dynamic Filter in NatTable(Possibility of filter in nattable in a dynamic way)
Dynamic Filter in NatTable [message #1707788] Wed, 09 September 2015 11:29 Go to next message
Bhagwan Moondra is currently offline Bhagwan MoondraFriend
Messages: 9
Registered: May 2015
Junior Member
Guten Tag,

Once a nattable is created, is it possible to introduce the Filter layer in the already defined GridLayer?

I have a nattable wrapped inside a SWT dialog. The BodyLayerStack uses a FilterList and my GridLayer have a Column header layer wrapped in a Filter Header Composite. This provides a static filter functionality.
But how to disable/enable the filter based on the click of custom toggle switch inside the dialog, after the nattable has been created?

All the filterrow command would probably clear/toggle the filtered data but would not remove the filter functionality itself, as the underlying layer is already defined with filter.

Any idea?

Vielen Dank!


Re: Dynamic Filter in NatTable [message #1707789 is a reply to message #1707788] Wed, 09 September 2015 11:35 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2803
Registered: July 2012
Senior Member
By firing the ToggleFilterRowCommand you can switch the visibility of the filterrow at runtime. It will not clear prior hiding the filter row, but with a custom switch you should be able to implement a clear and hide.
Previous Topic:Some issues with layout and refresh after list data changed
Next Topic:multiple rows selected if adding some new rows
Goto Forum:
  


Current Time: Wed Mar 03 07:07:11 GMT 2021

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

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

Back to the top