I am using datatables and currently putting the header and footer data in using HTML. I would like to make it more dynamic but can't seem to find a way to generate the headers from JSON data returned in the AJAX. Is there a way to do this?
Asked
Active
Viewed 19 times
0
-
2Does this answer your question? [How to display the column headers dynamically in jquery data table](https://stackoverflow.com/questions/39644079/how-to-display-the-column-headers-dynamically-in-jquery-data-table). If not, then there are various other similar questions on Stack Overflow which you can research. If those do not help, you can show us what you tried, what happened when you tried, and what specific problem you are facing. – andrewJames Apr 28 '22 at 01:24