Hi Michael,
You can handle the TableControlCurrentCellCloseDropDown event and update the all nested table records in a grid. Below is a code snippet
private void iterate(NestedTable n)
{
if (n == null || n.ChildTable == null)
return;
foreach (Record rec in n.ChildTable.Records)
{
rec.SetValue("Reason", obj);
foreach (NestedTable nt in rec.NestedTables)
{
iterate(nt);
}
}
}
object obj = null;
void gridRuleAlerts_TableControlCurrentCellCloseDropDown(object sender, GridTableControlPopupClosedEventArgs e)
{
if (e.Inner.PopupCloseType == Syncfusion.Windows.Forms.PopupCloseType.Done)
{
GridCurrentCell currentcell = e.TableControl.CurrentCell;
currentcell.EndEdit();
GridTableCellStyleInfo style = currentcell.Renderer.CurrentStyle as GridTableCellStyleInfo;
GridRecordRow grec = style.TableCellIdentity.DisplayElement as GridRecordRow;
obj = grec.ParentRecord.GetValue("Reason");
if (grec.ParentRecord.NestedTables != null && grec.ParentRecord.NestedTables.Count > 0)
iterate(grec.ParentRecord.NestedTables[0]);
}
}
Here is a modified sample.
http://www.syncfusion.com/Support/user/uploads/RuleAlerts_f8ce88cd.zipThanks,
Haneef