Hello again. You guys have been very helpful with my last couple questions so hoping to go three for three. I'm using the highcharts-angular wrapper in a project that I'm working on. The versions are "highcharts": "^9.2.2" and "highcharts-angular": "^2.10.0" with Angular 12.2.8. The UI I have allows the user to enter some parameters including a start and end date for the data that they want and when they have everything selected they hit a Recalculate button and I use the updateFlag to update the chart which works perfectly.
My issue is that if the user has the data table showing from the exporting menu the chart updates but the data table does not update. It would awesome to update the data table and keep it showing but at a minimum I'd like to at least close the data table when the chart updates so the user can open it again with the updated data. After a full day of working on this I'm here to try and find some help hopefully. My best solution at the end of today is to use the chartOptions.exporting showTable = false before updating with the updateFlag. This closes the table BUT when the user clicks on the exporting menu again, at the bottom it says "Hide data table" even though the data table isn't showing. So they have to click "Hide data table" and nothing happens, then they have to go back and click "Show data table" which works. Is there a proper way to close the data table that I'm missing or even better if data table could get updated with the new data? Any help is much appreciated as always.