Disabled Item does not render Checkbox

Hi, we have a Listview with Checkboxes, but when we disable the item, the Checkbox no-longer renders.

How would we disable item, but still render the Checkbox?



Thanks

1 Reply 1 reply marked as answer

SP Sowmiya Padmanaban Syncfusion Team December 15, 2020 08:40 AM UTC

Hi Nick Shaw,  
 
Greetings from Syncfusion support. 
 
We have checked you reported problem with ListView component. But, we are unable to replicate your reported problem. You can disable the list items with checkboxes using disableItem method of ListView component. 
 
Please, refer the below code snippet. 
 
 
document.getElementById("disable").onclick = () => { 
  listObj.disableItem({ id: "3", text: "Third Item" }); 
}; 
 
 
Please, refer the below sample link. In this sample, we have disabled a list item with checkbox on button click. 
 
 
Please, refer to the below link for ListView component. 
 
 
 
 
Please let us know, if you need any further assistance. 
 
Regards,  
Sowmiya.P 


Marked as answer
Loader.
Up arrow icon