There's a way to update columns like table.rows.add(rows)??
There's a way to update columns like table.rows.add(rows)??
tom_hernandez
Posts: 4Questions: 2Answers: 0
I´m trying to update all data on table
table.clear();
tableOptions.data=rows;
tableOptions.columns=headers;
//How can I update columns ???
//Exist something like this -> table.columns.add(headers);
table.rows.add(rows);
table.draw();
I hope can help me thanks so much
This discussion has been closed.
Answers
There is no way to dynamically add or removed columns to a DataTable at the moment I'm afraid. That is something i'm hoping to include in a future version.
Allan