Announcement

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

    Filtering, reseting startrow to 0 for grid

    Hi,
    I have grid with many records, when I page down in the grid to say record 400 and 500 and then filter, no results are displayed. This because the datasource requests requests rows 400 to 500 with new filter criteria which don't result in even 400-500 records.

    Is this something which can occur in my own custom code, or how can I reset the startrow to 0 when the filter editor is activated?

    gr. Martin

    #2
    Your custom server code should detect this condition and send back the first page of rows with startRow, endRow, and totalRows set appropriately. The ResultSet/ListGrid will automatically handle this. This is what the built-in server framework does as well.

    Comment


      #3
      Clear thanks!

      gr. Martin

      Comment

      Working...
      X