Announcement

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

    #16
    Originally posted by ksusanth View Post
    Also can you please let me know if it is possible to do client side filtering with criteria passed. I don't really need paging but i need to pass a criteria as mentioned in my use case in the previous post ie: User is doing a search and the filtering in the search results.
    This is also our issue - we want to fetch some data for the grid (with criteria) and let the user filter it. Can we have some answer on this, please?

    Comment


      #17
      Having fetched some data from the server already, you can create a clientOnly DataSource from it, or create a ResultSet directly (for use with a filterable grid).

      Comment


        #18
        Originally posted by Isomorphic View Post
        Having fetched some data from the server already, you can create a clientOnly DataSource from it, or create a ResultSet directly (for use with a filterable grid).
        Thanks, this works fine.
        Could you please give some advice, if we'd like to periodically refresh this clientOnly DataSource, what is the best way to empty it entirely in order to populate it with new data?

        Comment


          #19
          You can use a combination of DataSource.updateCaches() with invalidCache:true set, and calling setTestData() with new data.

          Comment

          Working...
          X