1

在道场增强网格中,有什么方法可以获取选定的列?目前我可以使用 grid.selection.getSelected() 获取选定的行,但我不知道如何获取选定的列。

4

1 回答 1

1

解决了。可以用这个找到:theGrid.focus.cell.field。这将为您提供列名。如果您需要整数而不是列名,则还有 theGrid.focus.cell.index 和 theGrid.focus.cell.layoutIndex。

于 2010-12-16T05:30:44.380 回答