I think this is repeated question, but i see all answers and nothing clear ? I used datatables in my MVC app and everything work perfectly , till i add new row to this datatable using
table.api().row.add
after that i assigned row id using two methods then draw 1-
row.nodes().to$().attr('id', ID)
2-
row.node().id = ID
When i try to get the new added row id using row.id its undefined and row.data not contain dt_rowid at all. In html i can see the id correctly added How to get the id for the new added row Please help me