How can add new row in to the data table after column reorder action performed
How can add new row in to the data table after column reorder action performed
SajeeshPK
Posts: 1Questions: 1Answers: 0
We have the datatable with 5 column iam changing first column in to second using colreorder. After that iam trying to add new row using 'row.add()' function but instead of first column value it changed into second ,please advice how can i add new row based on the column index?
This discussion has been closed.
Answers
Please create a simple test case showing what you are trying to do so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin