我需要一个使用 Highchart Dashboards for DataGridClickCallbackFunction(this, event) 的示例..谢谢
需要一个在 javascript 中使用此函数的示例来获取单击的行/列的列的值
您应该参考dataGridOptions.events.row.click函数。
API参考: https://api.highcharts.com/dashboards/#interfaces/DataGrid_DataGridOptions.DataGridRowEvents
演示: https://jsfiddle.net/BlackLabel/rq8kwmnL/
dataGridOptions:{
events: {
row: {
click: function(){
console.log(this)
}
}
}
}