DataGrid with checkbox for selected row

HI Team Radzen,

I Have a datagrid with checkbox in each row ( template) to be used as marker for a selected row.
Also with the new update there is a select / deselect all rows checkbox in the Header of the datagrid.

I'm trying to ensure that when a row is "checked" and the datagrid is refreshed the checked rows are checked again .

How can I accomplish this


You need to have a property part of your data item that will hold value if the row should be "checked" or not.

Difficulty in this is where to compare the saved values , also this could be page 3 out of 5 where the refresh happens .

Struggling with these basics .