Does anyone here know how to clear the selected rows of lightning:datatable on a button click or post processing of checked records?
Does anyone here know how to clear the selected rows of lightning:datatable on a button click or post processing of checked records?
Best Answer
You need to get the index of the selected row and remove it from the data attribute, something like this: