enable auto thead creation when using aoColumns
enable auto thead creation when using aoColumns
![yee379](https://secure.gravatar.com/avatar/91ce475f5a79ded77dffcbb4994b276e/?default=https%3A%2F%2Fvanillicon.com%2F91ce475f5a79ded77dffcbb4994b276e_200.png&rating=g&size=120)
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