Leave the line highlighted when you click on it.
Leave the line highlighted when you click on it.
Good afternoon! I ask you to explain: there are several modes of operation of table selection:
https://datatables.net/reference/api/select.style()
I need a "single". But I need it so that after selecting a row in the table, this selection remains. I.e. if we click on an already selected row , it should remain selected. Can you tell me how to do this?
This question has an accepted answers - jump to answer
Answers
Checkout this disable element deselection example. If this isn't what you are looking for then maybe you will want to limit row selection to a specific column using
select.selector
or checkbox selection like this example.Kevin
This is what I need! That's great, thank you.