getting all rows data from data table is not working when i assign data to table at client side

getting all rows data from data table is not working when i assign data to table at client side

When i assign data to data table at server side and try to get data using table.rows().data().toArray(); i am getting data in a array with key and value both. But when i assign data at client side in HTML file and when i use table.rows().data().toArray() to get data to array, it is only shoing value not Key. key is coming a undefined. Please guide me on that?

table.rows().data().toArray();

Answers

This discussion has been closed.