Fetching datasubset from view based on filters

General Interest: Hi i am fetching datasubset from a view on the basis of specific filters and showing in a read only grid(but in this grid i can select rows). My view does not have a unique field and batch size of my grid is 10. When i am selecting a row on grid page 1, all the rows which corresponds to page1 row are getting selected in rest of my grid pages. If i do not have a unique field to identify then how to solve this issue. I want each row of grid to be selected uniquely. Please provide your inputs on this.

OriginalPostID-185955

OriginalPostID-185955

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Just to add, you'll need to do this in conjunction with a local variable - that is, you'll have to read all possible data into a local variable, and then use todatasubset() on the local variable to implement paging. This is because the UUID() function will generate a new set of keys each time a select is performed on the view. Saving the data in a local variable means the select is not performed again and so the IDs remain static.
Reply
  • 0
    Certified Lead Developer
    Just to add, you'll need to do this in conjunction with a local variable - that is, you'll have to read all possible data into a local variable, and then use todatasubset() on the local variable to implement paging. This is because the UUID() function will generate a new set of keys each time a select is performed on the view. Saving the data in a local variable means the select is not performed again and so the IDs remain static.
Children
No Data