Quantcast
Viewing all articles
Browse latest Browse all 82130

How to handle situations to convert ooData to aoData

Hi. I'm stuck in a current quandry at the moment in developing my website. I am using DataTables to display certain responses from my database and give the user more control over interaction. A major update was made to the database and it is no longer returning arrays of objects that DataTables normally would use to parse and construct rows out of. This update was necessary for other elements of the site to work more efficiently, but I really want to make DataTables work with it as well.

Is there any built in feature of DataTables that fires immediately upon success of an ajax request that I could use to convert this object to a format that DataTables would actually accept?

Thanks for any help I can get.

Viewing all articles
Browse latest Browse all 82130

Trending Articles



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