Results 1 to 2 of 2

Thread: issue with applying filters to LiveGrid?

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    18
    Vote Rating
    0
      0  

    Default issue with applying filters to LiveGrid?

    Hi,
    I am using GXT's LiveGrid(http://www.sencha.com/examples/#ExamplePlace:livegrid). i want to apply filters(http://www.sencha.com/examples/#ExamplePlace:filtergrid). i have below code. i am using gxt 2.2.3 version.





    GridFilters filters = new GridFilters ();
    filters.setLocal(true);

    StringFilter nameFilter = new StringFilter("someColumn");
    filters.addFilter(nameFilter);

    filters.init(grid);
    grid.addPlugin(filters);





    if i enter filtered text then it filters properly. if i remove the filtered text then it will not get the data what ever it had before filtering. Do i need to override anything else?


    Thanks!

  2. #2
    Sencha User
    Join Date
    Apr 2011
    Posts
    7
    Vote Rating
    0
      0  

    Default

    yes
    u need to overide reload() method of AbstractGridFilters

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •