var _editColumn:DataGridColumn=dgRainRealtime.columns[event.columnIndex]; var editValue:String=dgRainRealtime.itemEditorInstance[_editColumn.editorDataField]; //获得被编辑的雨量值 var _editValue:int=int(editValue); var _row:int=dgRainRealtime.editedItemPosition.rowIndex; var _column:int=dgRainRealtime.editedItemPosition.columnIndex; var col:DataGridColumn=dgRainRealtime.columns[_column-1]; var deviceName:String=dgRainRealtime.dataProvider.getItemAt(_row)[col.dataField]; //获得的被编辑雨量值的站点名字