Selecting a row - best way to deselect previously selected

Selecting a row - best way to deselect previously selected

AHitchinsAHitchins Posts: 6Questions: 4Answers: 0

I've looked at this page[0] and with hectar's point it's all working. Rows are selecting on click and deselecting on click.

My question is - How do I best deselect the previously selected row? I only want one selected at a time.

[0] = https://www.datatables.net/examples/api/select_row.html

This discussion has been closed.