Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    filter by range in ListGrid

    Sorry about that, I found the example!
    ( in case anyone else needs this: http://www.smartclient.com/smartgwt/...ange_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:
    Code:
    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 !
    Last edited by Vali; 4 Jul 2011, 04:10.
Working...
X