I use datatable with dynamic columns from server side. When I reorder the columns the data is reorder but when I do a callback the columns are in the correct order but the data are in the original secuence because in server side I return the JSON in the same order.
How can I resolve this? Can I return in JSON column name and value (I try this but datatable show me an alert JSON error)?
How can I resolve this? Can I return in JSON column name and value (I try this but datatable show me an alert JSON error)?