When I toggle the tabs, and come back to the initial tab, it still shows selected
When I toggle the tabs, and come back to the initial tab, it still shows selected
jschroeder7
Posts: 22Questions: 11Answers: 0
Hello all,
How do I adjust my datatable so that after selecting a topic from the Topics tab, and then when I click on the Notes tab, and toggle back to the Topics tab, that it no longer shows the selection I had made?
This discussion has been closed.
Answers
Assuming you are using the Select extension use
rows().deselect()
in an event handler that runs when the tab becomes active. If this doesn't help then please provide a link to your page or a test case replicating the issue so we can provide more specific suggestions.https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin