Can end users create a table by adding new column and changing the sequence of the columns?

Can end users create a table by adding new column and changing the sequence of the columns?

AngdaAngda Posts: 1Questions: 0Answers: 0

I am considering to use the Datatables Editor for my project.
My project need users to create table examples on the specfic topics online while other can reviews their examples.
To create a table example, user need to add new columns and sometimes need to adjust the sequence of columns during the work.
I know the scenarios I described is ususally done by Google Spreadsheet, but why I want DataTables to do it is DT is a better tool for publishing a table online than Google spreadsheet which is better on online collaboration.

Is it possible to use DT to do my project? and any suggestion for me to do my project?
I would appreciate all answers and suggestions, Thank you!

Replies

  • allanallan Posts: 61,732Questions: 1Answers: 10,110 Site admin

    You can adjust the column order using the ColReorder extension, but there is no API to dynamically add a new column yet. You would need to destroy the table (destroy()) and then create a new DataTable with the number of columns you require.

    Allan

This discussion has been closed.