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_hernandeztom_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

Answers

  • allanallan Posts: 61,715Questions: 1Answers: 10,108 Site admin

    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

This discussion has been closed.