TableTools ColVis export?

TableTools ColVis export?

semcodedsemcoded Posts: 2Questions: 0Answers: 0
edited June 2013 in TableTools
Hello,

I'm fairly new to table tools and Colvis, and programming in general.
The problem is here:
I'm using TableTools to export a Database to excel (.csv) but now I am using ColVis to show/hide certain columns. I want to export the Table with certain columns hidden, but it's not working with just hiding it using ColVis.

Am I doing it the right way? I'd like some input.

[code]
$(document).ready(function (){

$("#table_hardware").dataTable({

"sDom": '<"top">CfT<"clear"><"bottom"lrtip>',
"oTableTools": {
"sSwfPath": "../../includes/swf/copy_csv_xls.swf",
"aButtons": [ {
"sExtends": "xls",
"sButtonText": "Export to Excel"
} ]

},
"oColVis": {
"buttonText": "Change columns"
}
});

});
[/code]
This discussion has been closed.