How to clear selected rows in Lightning DataTable?
I have a lightning datatable where I am displaying leads.
Once I selected the rows that I wanted and completed the action, I noticed that the checkboxes are not getting unchecked.
Here is what I added to the action method to make sure that the checkboxes will be unchecked after the action is completed.
Hope it helps 🙂