Announcement

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

    How to apply custom filter logic for client filtering in listGrid?

    Please, help.
    I need to override filter rules for client filtering in listgrid. I tried to override method filterData() in smartGwt, but it is not invoked when I enter filter value in filterEditor and press Enter. Is it possible to override filterData() in smartGwt or is there another way to solve this?
    Thanks!

    #2
    What specific change in behavior are you looking for? How best to do it depends on the details of what you are trying to achieve.

    Comment


      #3
      Hi Isomorphic,

      I have this same requirement. In the FilterEditor of TreeGrid and ListGrid, when the user enter a comma separated text, I want to use a logical operator OR. So for example if user enter London, Chicago the user should get records containing either London or Chicago.

      Thanks in advance.
      Last edited by ma6878; 11 Jun 2013, 11:23.

      Comment


        #4
        I solved this by using listgrid.addFilterEditorSubmitHandler and then modifying the criteria before filtering.

        Comment

        Working...
        X