예제 #1
0
파일: Grid.cs 프로젝트: erpframework/FineUI
 /// <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);
     }
 }
예제 #2
0
 protected void Grid1_AfterEdit(object sender, GridAfterEditEventArgs e)
 {
     Dictionary<int, Dictionary<string, object>> modifiedDict = Grid1.GetModifiedDict();
     Alert.Show("数据保存成功!(表格数据已重新绑定)");
 }