Table Tools - turning on/off
Table Tools - turning on/off
akreider
Posts: 33Questions: 0Answers: 0
I'm using Table Tools. I want the export functions/buttons to be on for some tables, and off for other tables. Currently they are all on.
Either the functionality needs to be off, or simply hiding the four buttons would suffice.
Either the functionality needs to be off, or simply hiding the four buttons would suffice.
This discussion has been closed.
Replies
If you don't want TableTools in a table, then just don't include it in the sDom specification for that table. To change the features of a specific table tools instance, you can change the properties in 'TableToolsInit' before the DataTable is initialised. The features in TableTools are controlled by:
[code]
TableToolsInit = {
"oFeatures": {
"bCsv": true,
"bXls": true,
"bCopy": true,
"bPrint": true
}
...
}
[/code]
Regards,
Allan
"sDom": 'T<"clear">lfrtip' - has Table Tools
"sDom": 'lfrtip' - does not have Table Tools
Allan