将Ag Grid与Angular 6一起使用时,当我侦听在“ A row group column was added or removed”时触发的columnRowGroupChanged事件时,如果用户删除了一个行组,我如何确定哪个行被删除了? >
答案 0 :(得分:0)
您将需要使用 columnApi.getRowGroupColumns()进行手动比较:
// gets all column definitions that are grouped
let groupedColumns = this.gridOptions.columnApi.getRowGroupColumns();
columnRowGroupChanged 事件之前/之后。