How to hide specific column on print datable using tabletools
How to hide specific column on print datable using tabletools

"sExtends": "print",
"oSelectorOpts": { filter: 'applied', order: 'current' },
"mColumns": [0, 1, 2, 3, 4, 5, 6]
I want to hide 7 coumn but its not working,please suggest me sir
This discussion has been closed.
Answers
same problem, still i couldn't get a solution. it will be good if someone helps
You will have to show your code.
Actually, currently there is no option to hide columns in the print view. I'm working on a replacement to TableTools at the moment that will have this feature.
Allan
Thans Allan ,i will waiting for solution of this problem
Still i have a problem in it to hide specific column when print
"sExtends": "print",
"mColumns": [ 0, 1, 2 ]
I'm working on a new plug-in that will replace TableTools and will include this functionality. It should be released in the next few weeks.
Allan
have u get any solution for this problem yet?
Yes, see the
print
button type - specifically theexportOptions
option (which in turn usesbuttons.exportData()
which has this option).Allan
Allan do you have an code example to hide the column when print ? Thanks
Example. This and others are available on the Buttons examples index page.
Allan