deselect rows on draw event - not working
deselect rows on draw event - not working
spakker
Posts: 1Questions: 1Answers: 0
Hi,
I was trying to deselect rows on draw event using a select extension and it's not working. Any suggestions?
table.on('draw', function( settings){
table.rows({selected: true}).deselect();
})
This discussion has been closed.
Answers
Your code seems to work here:
http://live.datatables.net/foforeqo/1/edit
I can select a row and start searching, which causes a table draw, and the selected row is deselected. Can you post a test case showing the issue?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin