Populating THEAD dynamically
Populating THEAD dynamically
Hello, is there a way to populate the contents of THEAD dynamically through DataTables? All I really see are functions for adding the data to the TBODY, but I require my table to have variable number of columns and I hope to achieve this by populating through DataTables.
Otherwise, I think my only other option is to write my own jQuery functions to grab JSON from server and write THEAD myself, then populate the TBODY using normal fnAddData() functions.
Otherwise, I think my only other option is to write my own jQuery functions to grab JSON from server and write THEAD myself, then populate the TBODY using normal fnAddData() functions.
This discussion has been closed.
Replies
Allan