Variable number of columns in datatable
Variable number of columns in datatable
My data to be displayed on datatable is transposed format. Rows are columns and columns are rows. So I need to show variable number of columns and fixed number of row. This is a challenge though. I am getting my data from ajax and then popuplating the data-bind attribute with the relevant columns and with the data too. I am not completely successful in this but I am trying.
This discussion has been closed.
Replies
It is! DataTables doesn't support the ability to dynamically add and remove columns at this time. You Would need to destroy and then create create the table each time you want to modify the column count.
Allan