I have a data grid that has close to 500,000 records on it and users would like to select all records and deselect lets say 50 records from the existing records. This is achievable programatically (with a lot of custom code), but I was wondering if there was a way to implement this better.
Currently -> users do Ctrl+A and then press and hold ctrl and deselect the unwanted records and then proceed.
One way i thought of is how Gmail handles things -> For select ALL (show the total count to be selected once checkbox is selected) and then once user deselects a record -> Set select all to the records avaliable in the current view (Page)