Question T11847
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Hide/disable PDF button on Tabulator

Tabulator - Hide a CSV Export option

created 2 years ago (modified 2 years ago)

[Ticket cloned from T11161: In survey js tabulator on clicking on CSV download Microsoft Excel Comma Separated Values File (.csv) in ]

Dear Jane

We are planning to go with the Excel button data output. Is it possible to hide the CSV button. If yes, kindly share the code

Thanks
Saravana Kumar V

Answers approved by surveyjs Support

created 2 years ago

Hello Kumar,
You can list required export options in the options.downloadButtons property of Tabulator options:

JavaScript
var surveyAnalyticsTabulator = new SurveyAnalyticsTabulator.Tabulator(survey, data.Data, { downloadButtons: ["xlsx", "pdf"] });

Please let me know if you have any questions.