Quantcast
Viewing all articles
Browse latest Browse all 82140

Order columns JSON server side

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)?

Viewing all articles
Browse latest Browse all 82140

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>