How to make an added row to selected one ?
How to make an added row to selected one ?
jan-007
Posts: 4Questions: 2Answers: 0
I tried the following:
```
var row = _g_tenantsTable.row.add({
"id": result.data.id,
"name": result.data.name,
"description": result.data.description
}).draw();
row.nodes().to$().addClass('selected');
```
but the row is not highlighted. What's wrong ?
This discussion has been closed.
Answers
The question "How to make an added row to selected one" was only a part of a problem described and now solved here:
https://datatables.net/forums/discussion/42520/calculate-page-and-row-index-of-an-dynamically-added-row-while-serveside-processing#latest