0
如何在ag-grid javascript中獲取selectionChanged
事件?我的意思是我需要執行一些操作,而用戶檢查checkbox
在ag-grid
,所以我需要在jquery中獲得一個事件。ag-grid中的selectionChanged事件
如何在ag-grid javascript中獲取selectionChanged
事件?我的意思是我需要執行一些操作,而用戶檢查checkbox
在ag-grid
,所以我需要在jquery中獲得一個事件。ag-grid中的selectionChanged事件
定義您的需要時,用戶更改選擇發生什麼功能:
function doSomething (eventData){
console.log("user changed the selection range!")
console.log(eventData)
}
然後你把這個函數傳遞到gridOptions:
var gridOptions = {
...
selecitonChanged: doSomething,
...
}