As soon as you access a specific page, a data table is created.
When any button is clicked, I want to initialize the created column and recreate it as a user-defined column.
Are there any supported options?
You can't recreate or add/remove columns after that initialisation, but you can change how they look using rowCallback - this is called on each draw, so if you have some conditional code there you can change the behaviour of how the column will look.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.