Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » filtering with a data range
filtering with a data range [message #1403817] Mon, 28 July 2014 06:16 Go to next message
june yao is currently offline june yaoFriend
Messages: 3
Registered: July 2014
Junior Member
Dear Dirk,

I am trying to do filtering qith a data range,that means the filtered result are rows of data within this range, could you please give me a hint how to do this or there is an example showing this.

Many thanks,

June
Re: filtering with a data range [message #1403965 is a reply to message #1403817] Mon, 28 July 2014 18:33 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2494
Registered: July 2012
Senior Member
use the regular expression filtering type
Re: filtering with a data range [message #1404148 is a reply to message #1403965] Wed, 30 July 2014 03:54 Go to previous messageGo to next message
june yao is currently offline june yaoFriend
Messages: 3
Registered: July 2014
Junior Member
Thanks for your quick response. Could please give me an example showing this? As I am new in this area.

Thanks
Re: filtering with a data range [message #1404160 is a reply to message #1404148] Wed, 30 July 2014 06:59 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2494
Registered: July 2012
Senior Member
Please check the examples regarding filtering. It should be in Classic Examples -> Filtering -> FilterRowGridExample

You typically need to register the text matching mode like this

configRegistry.registerConfigAttribute(FilterRowConfigAttributes.TEXT_MATCHING_MODE,
	TextMatchingMode.REGULAR_EXPRESSION,
	DisplayMode.NORMAL,
	FilterRowDataLayer.FILTER_ROW_COLUMN_LABEL_PREFIX + 5);


I currently don't have the time to build up a dedicated example.
Re: filtering with a data range [message #1404294 is a reply to message #1404160] Thu, 31 July 2014 04:48 Go to previous message
june yao is currently offline june yaoFriend
Messages: 3
Registered: July 2014
Junior Member
Thank you
Previous Topic:Customize Summary row
Next Topic:NatTable Examples can be downloaded (Try It button))
Goto Forum:
  


Current Time: Fri Sep 22 06:16:45 GMT 2017

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

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