CodeIgniter Forums
Can DataTables be configured to accept dynamic column names? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Can DataTables be configured to accept dynamic column names? (/showthread.php?tid=75005)



Can DataTables be configured to accept dynamic column names? - jmb48825 - 12-06-2019

My goal is to create a generic table population script that will receive query results from any one of my models and transform the data into a DataTable, specifically with the functionality to derive column names directly from the data.
Is this possible?