I am building a screen where user can view assignments in the grid. User can select records and those selections will be saved in the database. The checkbox is binded to "IsPreLoad" column/property. I also need to show how many records are selected in a separate label.
User has selected 2 records from the list and saved it in database. When the user goes back to the Assignment listing page both the records will be displayed as selected(checkbox selected) . When user clicks on the header checkbox to select all records that functionality works as expected. But when they try to unselect the header checkbox. I can see the records getting unselected but immediately the grid shows previous two records as selected.
I think after unselecting all the records from the grid, the grid is again binding data from grid read action. I am not sure how to resolve this issue.
Any help is appreciated.