Grid with checkbox selection (check all items issue) with refresh.

Hi there,
We are experiencing an issue with the Grid on the latest build (the same issue with the previous 17...).
The problem is that when the Grid loads first time and you click on the header checkbox to select all it does select all and the header checkbox is checked as expected.
Then if you change the size of the collection and invoke the refresh method, the try to check them all again the header checkbox won't be checked as it should, it keeps as partial selection,
Attached is the code to reproduce the issue.

1- Run the project.
2- Click on check all checkbox on the grid header.
3- Click on Refresh button (it will delete one record from the data source and the grid will properly populate the change)
4- Click on check all checkbox to Uncheck the checked ones.
5- Click on check all again and the issue will be populated (check all checkbox  header will be partially checked)


Thanks

Attachment: BlazorAppGridCheckbox_b2008206.zip

3 Replies

RN Rahul Narayanasamy Syncfusion Team April 2, 2020 12:36 PM UTC

Hi Ernesto, 

Greetings from Syncfusion. 

Query: Grid with checkbox selection (check all items issue) with refresh. 

We have validated your query and we are able to reproduce the reported problem. We have considered it as a bug and logged defect report for the same Problem with SelectAll checkbox's state after removing item in DataSource(List) with PersistSelection in Grid. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and including the defect fix in our next Bi-Weekly release which is expected to be rolled out on or before April 30, 2020.  
   
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.   
   

Until then we appreciate your patience. 

Regards, 
Rahul  



IV Ivan April 20, 2020 08:09 AM UTC

Hello!
Strange behavior select all checkbox
There is a grid with paging and a checkbox column.
When you click select all, only rows on the current page are selected, but when you click unselect all, the selection on all pages is canceled.
It is necessary that when you click select all marked entries on all pages.


RN Rahul Narayanasamy Syncfusion Team April 21, 2020 01:00 PM UTC

Hi Ivan, 

Greetings from Syncfusion. 

We have validated your query and by default while enabling pager in grid, it will load the data on demand concept of the Grid. So, while selecting checkAll check box in Grid, it will select only the current page records in the Grid. This is the default behavior of the Grid. 

Please get back to us if you need further assistance. 

Regards, 
Rahul 


Loader.
Up arrow icon