Excluding last column for TableTools export
Excluding last column for TableTools export
roamso
Posts: 1Questions: 0Answers: 0
How can I exclude the last column when using the TableTools extras to export?
I'm initializing several different tables with the TableTools extras. They all use the same initialization code.
The different tables have different number of columns. However, all tables have the last column in common, which is an 'action' column with buttons. When exporting with TableTools, it includes certain elements from this column in the export. I would like to exclude the last column (the action column) for the TableTools exports for all tables.
I am aware of the mColumns option but it appears you need to know the number of columns, which doesn't work in my described scenario.
Is there a way to achieve this type of exclusion without 'knowing' the number of columns in a table?
Thanks
I'm initializing several different tables with the TableTools extras. They all use the same initialization code.
The different tables have different number of columns. However, all tables have the last column in common, which is an 'action' column with buttons. When exporting with TableTools, it includes certain elements from this column in the export. I would like to exclude the last column (the action column) for the TableTools exports for all tables.
I am aware of the mColumns option but it appears you need to know the number of columns, which doesn't work in my described scenario.
Is there a way to achieve this type of exclusion without 'knowing' the number of columns in a table?
Thanks
This discussion has been closed.
Replies
Allan