in google visualization i have a ChartWrapper:
table = new google.visualization.ChartWrapper({
'chartType': 'Table',
'containerId': 'table_div',
'options': {
'allowHtml': true,
},
});
I'd like to export to csv the data visualized in the table (after make some filter) So i get the Data Table:
var dataTableTmp = table.getDataTable();
Now if i try to remove a column from the dataTable:
dataTableTmp.removeColumn(0);
i get the following error:
Uncaught TypeError: undefined is not a function
What is the problem?