spotfiresoftware / spotfire-mods

Spotfire® Mods
https://spotfiresoftware.github.io/spotfire-mods/
Other
54 stars 41 forks source link

Download of a data grid table #116

Closed CommonCrisis closed 1 year ago

CommonCrisis commented 1 year ago

Hi,

is it possible to parse a data grid to sheetjs and download the results to excel? For me any approach to integrate a "download button" for xslx or txt file does nothing.

objerke commented 1 year ago

Unfortunately it is not possible to open popups from Visualization Mods and therefore it won't be possible to download a file from within the mod. The data that a mod receives via the API can be exported via the File > Export > Data to file option in the menu system, as long as the mod supports the Tooltip feature, which was added in version 1.3 of the API. This discussion post explains the steps necessary to add tooltip support to an older mod.

image

image