[英]AG-Grid Distinguish Row Selections
消費onCellClicked事件將為您提供必要的列信息。 您可能希望排除分組的列-請參見下面的示例。
gridOptions.onCellClicked = function(params) {
// indicates whether the selected node is a grouped node
if (params.node.group) {
return;
}
// logs the selected column
console.log(params.column.colId);
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.