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.
在道场增强网格中,有什么方法可以获取选定的列?目前我可以使用 grid.selection.getSelected() 获取选定的行,但我不知道如何获取选定的列。
解决了。可以用这个找到:theGrid.focus.cell.field。这将为您提供列名。如果您需要整数而不是列名,则还有 theGrid.focus.cell.index 和 theGrid.focus.cell.layoutIndex。