row().select() not working

row().select() not working

AllexAllex Posts: 4Questions: 3Answers: 0
edited November 2021 in DataTables 1.10

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

Answers

Sign In or Register to comment.