Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
单击它时我尝试检测列号,但没有结果。尝试使用 getCellFromEvent,但它仅适用于单元格,而不适用于标题,其他可以对网格执行相同操作的方法 - 未找到。请帮忙。
谢谢
您需要使用以下参数:
grid.onHeaderClick.subscribe(function(e, args) { var columnID = args.column.id; console.log(columnID); });