ipsapps
Posts: 19
Joined: Tue Jul 16, 2024 12:51 pm

Exporting Dashboard and Data Grid

Hi - I am really liking the new data grid functionality and the documentation is the best you've put out so far. Thanks for that.

I have the following questions:

1. Is it possible to add the exporting context menu to the new data grid? I haven't had success in doing that. When I include the exporting modules, the charts automatically get the exporting context menu, but the data grid does not. I did not see examples in the API documentation, but perhaps I missed it:

https://jsfiddle.net/jmac88/ny59fjw0/1/

Secondly - is it possible to export a dashboard entirely? I saw you can export the json object, but i'm looking to see if there's a built in way to export the dashboard as a PDF, or download all of the data that's feeding the dashboard from the connectors?
User avatar
dawid.d
Site Moderator
Posts: 1189
Joined: Thu Oct 06, 2022 11:31 am

Re: Exporting Dashboard and Data Grid

Hi!

Thank you for your kind words – we’re very happy to hear that you’re enjoying the new DataGrid functionality and the documentation!

As for your questions:
  1. We’re gradually working on enabling export features for the data grid and dashboard, including PDF export options. This functionality isn’t available just yet, as it involves adding an export module to the export server. For this reason, the data grid doesn’t currently have the same context menu options as Highcharts Core.
  2. For exporting data, you can export source data directly from the connector or use the `dataGrid.getJSON()` method to get the data currently displayed in the data grid, including any applied sorting or filtering.
Here’s a demo to illustrate: https://jsfiddle.net/BlackLabel/a2yp5L9w/

Please feel free to reach out if you have further questions or need any additional help!

Best regards,
Dawid Draguła
Highcharts Developer

Return to “Highcharts Dashboards”