鉴于有一个使用单元格编辑插件的网格,有没有一种方法可以引用组合框编辑器而不以全局方式进行?
我有这个工作:
this.grid().rowAt(0).cellAt(0).click(); // click to show the combo
ST.comboBox('combobox[itemId=someID]').expand().setValue(1); // this works but looks for the combo globally
但我认为我应该能够做到:
this.grid().gotoComboBox('combobox[itemId=someID]'); // this doesn't work
或类似的东西:
this.window().gotoComboBox('combobox[itemId=someID]'); // this doesn't work either (grid is within a window)