Dynamic Column quantity on initialization
Dynamic Column quantity on initialization

Hello, everyone, I am trying to create a dynamic table with server side, that the quantity of columns may vary depending on the query from the server, is this possible to do with datatable?
I am somewhat confused because the columns are defined in html using the <th> tag which is inside the html not in the javascript,
I am pretty sure this has been asked before, but I don't seem to find any similar answer.. thanks in advance :D
This discussion has been closed.