unchecked data of listview

Hello, Syncfusion

How can I get the unchecked data of the listView? I can get the data of the checked data by using getSelectedItems. and I also want to get the unselected ones how can i do that?


1 Reply 1 reply marked as answer

KR Keerthana Rajendran Syncfusion Team December 17, 2021 11:41 AM UTC

Hi Riejan, 

Thanks for contacting Syncfusion support. 

We do not have any direct methods to get unchecked items in ListView. However, you can get the unchecked item text through select event of ListView.  

Refer to the following code. 

onListItemSelect: function (args) { 
      if (!args.isChecked) { 
        console.log(args.text); 
      } 
    }, 



Please let us know if you need any further assistance. 

Regards, 
Keerthana R. 


Marked as answer
Loader.
Up arrow icon