filter by range in ListGrid

Sorry about that, I found the example!
( in case anyone else needs this: http://www.smartclient.com/smartgwt/showcase/#grid_daterange_filtering)


Hi,

Is it possible to filter the results using a range for a ListGridField of type date or int ?

Ex:

  • show all results that have the Date between 2011.01.01 and 2011.02.01
  • or have cost between 50 and 100

I tried:

date.setFilterOperator(OperatorId.BETWEEN_INCLUSIVE); 

cost.setFilterOperator(OperatorId.BETWEEN_INCLUSIVE);

… but it doesn’t appear to do anything, the same filter appears. Maybe I’m just not typing the range well ? How should it look ?

Thanks !