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.
在 GridInlineEditing 网格中编辑单元格后,我想要做的是获取刚刚编辑的行的模型(或记录,不关心哪个)。
我尝试将 ValueChangeHandler 附加到编辑器,但 ValueChangeEvent 没有上下文,并且无论我编辑哪一行,源似乎都是相同的。
List<> selectedItems = editorGrid.getSelectionModel().getSelection(); //iterate selected items int index = editorGrid.getStore().indexOf(selectedItem);