Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Way to know if Sorting/Filtering is done on NatTable
Way to know if Sorting/Filtering is done on NatTable [message #1782631] Tue, 27 February 2018 09:51 Go to next message
Gaurav Tripathi is currently offline Gaurav TripathiFriend
Messages: 41
Registered: September 2015
Member
Hi,

Is there any way to know if Sorting is done on NatTable and Filtering is applied on NatTable; based on which I can execute my other part of a code.
Re: Way to know if Sorting/Filtering is done on NatTable [message #1782639 is a reply to message #1782631] Tue, 27 February 2018 10:18 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2624
Registered: July 2012
Senior Member
Can you please be more specific? Do you want to react on the action or check the status if applied?
Re: Way to know if Sorting/Filtering is done on NatTable [message #1782643 is a reply to message #1782639] Tue, 27 February 2018 10:35 Go to previous messageGo to next message
Gaurav Tripathi is currently offline Gaurav TripathiFriend
Messages: 41
Registered: September 2015
Member
I want to know the status if applied.
Also, its good, if I can react to both the action as my requirement is also to disable some of the buttons when sorting and/or filter is applied.
Re: Way to know if Sorting/Filtering is done on NatTable [message #1782647 is a reply to message #1782643] Tue, 27 February 2018 11:36 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2624
Registered: July 2012
Senior Member
when filtering or sorting is applied you should get a StructuralRefreshEvent from the GlazedListsEventLayer.

If you want to check the state you should be able to do this via the ISortModel and the IFilterStrategy.
Previous Topic:NatTable 1.6 release date
Next Topic:Make row index stable when Rowreorder is done
Goto Forum:
  


Current Time: Mon Nov 19 06:47:30 GMT 2018

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

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

Back to the top