how to make table display only selected row?
how to make table display only selected row?
Rukirii
Posts: 7Questions: 6Answers: 0
Hello,
From this example https://datatables.net/extensions/select/examples/initialisation/checkbox.html
if i check a row , the rest of the rows need to disappear giving only data of the selected row.
is it possible to do this?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @Rukirii
You could delete all the other rows with
rows().remove()
, but then they would be gone so if you want them back, that would be an issue. Alternatively, you could display a modal with therow().data()
for that row,Cheers,
Colin