score:2

Accepted answer

we can achieve the same by adding the new item to the menu like this:

highcharts.getoptions().exporting.buttons.contextbutton.menuitems.push({
    text: 'download custom csv',
    onclick: function () {
       /* add your custom logic to download csv file with desired data*/
    }
});

Related Query

More Query from same tag