1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    1
    Vote Rating
    0
    ckesselh is on a distinguished road

      0  

    Default Grid filter based on Java Enum values

    Grid filter based on Java Enum values


    Hi everybody,

    I'm a freshman when it comes to Ext-GWT development, so here's my (possibly quite basic) question:

    What's the best way to create and add a filter criteria to an existing GXT grid if the underlying column is a standard Java Enum. As corresponding menu, I'd expect something like a multi-select box where to user can pick and choose the actual values by which to filter.

    Thanks in advance and Best Regards,

    Chris

  2. #2
    Sencha User
    Join Date
    Jan 2013
    Posts
    8
    Vote Rating
    0
    ryanshillington is on a distinguished road

      0  

    Default Yeah, me 2

    Yeah, me 2


    I figured it out - You're looking for the com.sencha.gxt.widget.core.client.grid.filters.ListFilter

  3. #3
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Both the Filter Grid and the Remote Filter Grid examples make use of a ListFilter and an enum to provide functionality similar to what you are describing:

    http://www.sencha.com/examples/#Exam...motefiltergrid
    http://www.sencha.com/examples/#ExamplePlace:filtergrid

  4. #4
    Sencha User
    Join Date
    Jul 2014
    Posts
    1
    Vote Rating
    0
    meetlesli is on a distinguished road

      0  

    Default


    Thank you Colin for sharing link..