/// <summary> /// 触发结束编辑事件 /// </summary> /// <param name="e">事件参数</param> protected virtual void OnAfterEdit(GridAfterEditEventArgs e) { EventHandler<GridAfterEditEventArgs> handler = Events[_afterEditHandlerKey] as EventHandler<GridAfterEditEventArgs>; if (handler != null) { handler(this, e); } }
protected void Grid1_AfterEdit(object sender, GridAfterEditEventArgs e) { Dictionary<int, Dictionary<string, object>> modifiedDict = Grid1.GetModifiedDict(); Alert.Show("数据保存成功!(表格数据已重新绑定)"); }