Announcement

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

    Remove smart gwt filters

    Hi Team,

    We are currently using:-
    BuildDate Wed Mar 05 15:52:00 IST 2014
    Version 4.1p
    SCVersionNumber v9.1p_2014-03-05

    In my list grid i am applying filters using :-
    setShowFilterEditor(true)


    My requirement is to to remove these filters on some click of button i.e. i want to call a function that removes these filter criterias
    But want to retain other customisations that i have done on my list grid i.e i cannot redraw my list grid completely.
    So is there any function available for my requirement?

    Your help is appreciated.
    Thanks

    #2
    Hi mchoudhary,

    did you already try ListGrid.setFilterEditorCriteria()?

    Best regards,
    Blama

    Comment


      #3
      Hi,
      Can you please elaborate more?

      I want to remove the filter criteria so why would i use - ListGrid.setFilterEditorCriteria()??

      Also, i tried to use ListGrid.setFilterEditorCriteria(null) but that gives me NPE (which is expected even).

      Thanks for quick reply earlier.

      Comment


        #4
        and setFilterEditorCriteria(new Criteria()) ?

        Comment


          #5
          still not working.

          Comment


            #6
            what means not working ? do you got an exception or what is not working ?

            Comment


              #7
              working now.thanks for all the help

              Comment

              Working...
              X