+ Start a Discussion
Luke Vang 52Luke Vang 52 

How can Lightning:datatable keep track of deselected checkboxes?

I'm trying to use the lightning:datatable component, but there doesn't seem to be a way to keep track of deselected checkboxes. My current implementation uses a drop down, that allows users to upate the data in the data table based on the user selected from the drop down.

I want to keep track of all selected rows, but there doesn't seem to be a way to remove un-selected rows.

Any ideas on how these can be done, docs really don't say anything about how to keep track of anyhting except what's selected? 
NagendraNagendra (Salesforce Developers) 
Hi Luke,

Sorry for this issue you are encountering.

May I suggest you please check with below link from the stack exchange community which might help. Please let us know if this helps.