I am trying to build an array with columns/columnDefs options. When I setup title parameter, thead block gets automatically generated. Is there a way to force generation of footer row as well?
This question has an accepted answers - jump to answer
Hi @Soul Reaver ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Yes, ofc, this could be used as an example: http://live.datatables.net/ruxodeli/5/
I know I can do that easily by adding thead and tfoot in the HTML, but actual table will have about 40-50 columns and I don't want to fight with both header and footer when I'd like to edit anything. I have an idea for workaround - use columns object to generate DOM nodes myself, then create DataTable object, but that's just a workaround.
Thanks for that, it helped understand the issue. These two SO threads here and here may help, they're discussing the same thing with various solutions.
Hopefully one of those will do the trick,
Yes thank you.
Basic information that DT does not have such auto-footer option (no wonder I did not find it myself) would be enough, but adding a bunch of empty cells in footer probably is better than applying text myself (I am guessing that DT would update it anyway). ^_^
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.