选择GridPanel中一行数据,当变更数据时并重新刷新之后不能获取最新值,需通过如下方式获取:
var internalId =
gridPanel.getSelectionModel().getLastSelected().internalId;
var row = gridPanel.store.getByInternalId(internalId);
var
newValue= row.data[‘fieldName‘];