Export with collection button with mColumns

Export with collection button with mColumns

jenujenu Posts: 1Questions: 0Answers: 0
edited January 2014 in TableTools
mColumns option not applying on export columns when using button with collections

It is working when I set individual buttons like 'sExtends':'csv'

Sample code is
[code]
"aButtons": [{
"sExtends": "collection",
"sButtonText": 'Export ',
"aButtons": [ "csv", "xls", "pdf" ],
"mColumns": "sortable"
}]
[/code]

Please give me solution
Thanks

Replies

  • allanallan Posts: 57,263Questions: 1Answers: 9,121 Site admin
    You have applied mColumns to the collection button, but not the csv etc buttons. The collection buttons do not currently inherit properties, they are 100% independent.

    Allan
This discussion has been closed.