Announcement

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

    Listgrid filters

    We have some listgrids with the filter editor turned on. They all pretty much look like the code below. After the inital fetch, once we try to filter, it filters it locally and doesn't return the correct information a lot of the time. But after that, if you change the filter criteria, it will always re-fetch correctly.

    How do I turn off the filtering locally and make it fetch every time?

    Code:
    isc.ListGrid.create({
       ID: "Grid",
       dataSource: "gridDS",
       autoFetchData: true,
       showFilterEditor: true,
       fields: [
          {name: "Field1"},
          {name: "Field2"}
       ]
    })

    #2
    What's the problem with the initial filter?

    If your application requires it, you can disable client filtering by passing the userClientFiltering: false flag to the ResultSet that is created by the ListGrid. Like so:

    Code:
    isc.ListGrid.create({
       ...
       dataProperties: {
          useClientFiltering: false
       }
    });

    Comment


      #3
      @Isomorphic : how to disable client filter if i use RestData to create listgrid?

      Comment

      Working...
      X