How to make DataTables default select the first line?
How to make DataTables default select the first line?
布丁熊
Posts: 1Questions: 1Answers: 0
When there is only one data in the table, select it by default.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Is this immediately after the table has initialised? If so, just use
row().select()
. You can usepage.info()
to determine if there is only one row in the table.Allan