Skip to main content



      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 07:29 Go to next message
Eclipse UserFriend
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 07:35 Go to previous message
Eclipse UserFriend
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: Mon Jun 16 19:25:08 EDT 2025

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

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

Back to the top