Example #1
0
 protected void Grid_BatchUpdate(object sender, ASPxDataBatchUpdateEventArgs e)
 {
     foreach (var args in e.InsertValues)
     {
         GridDataItem.InsertNewItem(args.NewValues);
     }
     foreach (var args in e.UpdateValues)
     {
         GridDataItem.UpdateItem(args.Keys, args.NewValues);
     }
     e.Handled = true;
 }