enable auto thead creation when using aoColumns
enable auto thead creation when using aoColumns
yee379
Posts: 6Questions: 0Answers: 0
so i'm loading a table through ajax and am defining the columns i want shown from my list of objects.
however, as i'm using ruby-on-rails, i put my javascript code into one coffeescript file and the actual html in another. so what that means is that if i wanted to add/remove another column quickly to my table i have to edit two files, otherwise i get a javascript error.
my feature request is that i would like to simply define [code][/code] element in my html, and have have the dataTable() function actually create the [code][/code] and inner [code][/code] elements when the dataTable object is instantiated.
thoughts?
however, as i'm using ruby-on-rails, i put my javascript code into one coffeescript file and the actual html in another. so what that means is that if i wanted to add/remove another column quickly to my table i have to edit two files, otherwise i get a javascript error.
my feature request is that i would like to simply define [code][/code] element in my html, and have have the dataTable() function actually create the [code][/code] and inner [code][/code] elements when the dataTable object is instantiated.
thoughts?
This discussion has been closed.
Replies
Allan