user3587624
user3587624

Reputation: 1471

Highcharts: get an event before drilldown?

I have the following JS code...

data: [
                {
                    name: 'Active',
                    y: 20,

                    events: {
                        //onClick: 
                        click: function (event) {
                            LoadTable(tableData, event);
                        }
                    },
                    drilldown: 'Active'
               }
     ]

But the event does not fire up if the drilldown is there... Is that by design? I need to have the drilldown so I can load the Active data on the chart but I need to also call the LoadTable function first...

I tried to put an alert("test") but not even that worked....

Any idea? Thanks!

Upvotes: 1

Views: 224

Answers (1)

Nishith Kant Chaturvedi
Nishith Kant Chaturvedi

Reputation: 4769

Use the drilldown event.

   events: {
            drilldown: function (e) {
            alert("drillDown Event");

See fiddle here

Upvotes: 2

Related Questions