Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Add Filter row after freeze row
Add Filter row after freeze row [message #1245686] Fri, 14 February 2014 05:40 Go to next message
Chetana Barhate is currently offline Chetana BarhateFriend
Messages: 18
Registered: February 2014
Junior Member
Hi,

We are implementing NatTable in our RCP application. We are having two specific requirements:
1. Table should contain a column header after that one row with static data (Also which is freezed row) and below that a filter row. So when user scrolls down he is always able to see the column header, freeze row with sataic data and a filter row
2. Dynamic filtering. As the user types the filter expression into the text box, the data set would apply the filter after each keystroke. At the moment, the user needs to press the return key for the filter to be applied.

Can we add above two features in to a Nattable programatically?

Thanks for any help
Re: Add Filter row after freeze row [message #1246014 is a reply to message #1245686] Fri, 14 February 2014 15:53 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
1. If you need another row between the column header and the filter row you possibly need to create a custom column header composition. I think you could simply add a column group header on top of the column header where there is one group per column. There are also other possibilities using DimensionallyDependentLayers.

2. filtering on key press is currently not available. Technically there needs to be a key listener attached to the editor that fires a commit on every key stroke.
Re: Add Filter row after freeze row [message #1258609 is a reply to message #1246014] Thu, 27 February 2014 15:05 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
For applying a filter on editing: https://bugs.eclipse.org/bugs/show_bug.cgi?id=429247
Previous Topic:Hold selected rows for context menu operations
Next Topic:Not able to left align column header
Goto Forum:
  


Current Time: Tue Apr 23 14:10:49 GMT 2024

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

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

Back to the top