dynamically load table without knowing how many columns
dynamically load table without knowing how many columns
kkittell
Posts: 1Questions: 1Answers: 0
I want to be able to do a sql query and load the datatable using that information, only I don't know what, or how many columns there will be. The sql is strung together depending on user input, so there could be 5 or 20 columns. Everything I've seen shows you have to define the columns in some way.
Is this possible to do?
This discussion has been closed.
Answers
There are some threads asking the same question such as this:
https://datatables.net/forums/discussion/comment/156630/#Comment_156630
Let us know if you have any questions.
Kevin