CheckItems not working properly in listview

I can see from other forum posts that there are bug fixes due to be rolled out this week or next relating to the checking of checkboxes in a listview. I am using the listview in a more complex scenario ie listview within a dialog that is triggered by a selection from the main listview and want to know whether the fixes that are scheduled will also solve the problems that I have.

I have created the attached new project to show my code.

The behaviour that I am getting is when accessing the friends page and selecting friend#1 the dialog opens with a list of the groups that the friend belongs to. Friend#1 belongs to two groups but only one is checked, if you click to dismiss the dialog and then select Friend#1 again, none of the groups are checked. If Friend#2 is then selected, none of the groups are selected. If you then click on the Home Page and then back to the Friends page and select Friend#2, then one group is checked (although friend#2 belongs to two groups). Again closing the dialog and selecting any of Friend#1,#2,#3 or #4 results in all checkboxes not being checked although all of these friends are a member of at least one group.



Attachment: ListViewTest_3ab464a7.zip

5 Replies 1 reply marked as answer

AN Andrew November 3, 2020 10:03 AM UTC

I have changed the class structure to show the hierarchy of user > friend > groups and attach the revised project file.

This appears to have stabilised the selection problem and only leaves the problem that CheckItems(IEnumerable<T>) does not work as no matter how many Ts there are, nothing is checked. I have been careful to ensure that if there are no groups to be ticked then checkItems is not called, as this would have the effect ofchecking all of the items (which is what happened before I introduced the constraint.

Attachment: ListViewTest_(2)_dd56284e.zip


SP Sowmiya Padmanaban Syncfusion Team November 3, 2020 11:42 AM UTC

Hi Andrew,  
 
Greetings from Syncfusion support. 
 
We have checked your reported problem with ListView component (Items are not maintained in checked state using checkItems method) with your provided details. We are able to replicate the issue. We have consider this issue as a bug in ListView component. We will include the fix for this issue on or before Volume 4 release which is expected to be rolled out by the end of December 2020. 
 
Please, track the following feedback portal link to the know status of this issue fix. 
 
 
We appreciate your patience. 
 
Regards,  
Sowmiya.P 



AN Andrew December 22, 2020 05:26 PM UTC

Has the fix for this been published yet? I am using 18.4.0.30 and am still having issues.


SP Sowmiya Padmanaban Syncfusion Team December 23, 2020 07:22 AM UTC

Hi Andrew¸ 
 
Sorry for the inconvenience. 
 
Due to some technical complexities, we were unable to include this fix in Volume 4 release, 2020. 
 
We are currently working to fix this issue with high priority. This fix will be included in our next patch release which will roll out within the end of December 2020. 
     
We appreciate your patience.     
 
Regards,  
Sowmiya.P 



SP Sowmiya Padmanaban Syncfusion Team December 30, 2020 11:22 AM UTC

Hi Andrew,   
 
Thanks for your patience. 
 
We are glad to announce that our patch release (V18.4.32) is rolled out successfully. In this release, we have included fix for List Items are not maintained in checked state using checkItems method of ListView component. To access this fix, we suggest you to update the package to the latest version (V18.4.32). 
 
Please, refer the below sample link. 
 
 
Please get in touch with us if you would require any further assistance. 
 
Regards, 
Sowmiya.P 


Marked as answer
Loader.
Up arrow icon