How to show dynamic table to datatable?
How to show dynamic table to datatable?
yunike
Posts: 1Questions: 1Answers: 0
Hi everyone
I have some table in database, with not fix column in every table. Every table have very large dataset. I make feature in my website so that user can choose what table they can show. So, how can I using datatable to show tables as user choice? I hope this can use server side processing, but with dynamic table (because the columns of every table is different).
Thank you
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @yunike ,
serverSide
processing is just a script on the server which when called returns the data in the expected JSON format. If you have multiple tables, just either have multiple or scripts, or a single script and pass in an argument withajax.data
that will identify the table.Cheers,
Colin