row().select() not working
row().select() not working

I have a table. it is necessary to programmatically select a row with index n. i tried via row().select () but it doesn't work for me when the function is called. there is one page in the table.
function f()
{
var table = $('#docsTable').DataTable();
table.row(':eq(5)', { page: 'current' }).select();
}
sorry for my bad english
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Your code snippet works here:
http://live.datatables.net/bosafete/1/edit
Make sure you are loading the Select extension JS and CSS files. If you still need help please post a link to your page or a test case replicating the issue so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin