Exemple #1
0
 /// <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);
     }
 }
Exemple #2
0
 protected void Grid1_AfterEdit(object sender, GridAfterEditEventArgs e)
 {
     Dictionary<int, Dictionary<string, object>> modifiedDict = Grid1.GetModifiedDict();
     Alert.Show("数据保存成功!(表格数据已重新绑定)");
 }