The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
For example Rows 1 2 and 3 are in the parent table. Row 3 is expanded subrow1 and 2 are in the child table of row 3 If someone changes a value in column 2 of subrow 2, I want to be able to find the values in row3 when the the currentcellacceptedchanges event fires for subrow2 column 2
ADAdministrator Syncfusion Team July 25, 2008 10:37 PM UTC
Try code like this. void gridGroupingControl1_TableControlCurrentCellAcceptedChanges(object sender, GridTableControlCancelEventArgs e) { GridCurrentCell cc = e.TableControl.GetNestedCurrentCell(); GridTableCellStyleInfo style = e.TableControl.GetTableViewStyleInfo(cc.RowIndex, cc.ColIndex); Record childRecord = style.TableCellIdentity.DisplayElement.GetRecord(); if (childRecord != null) { GridRecord parentRecord = childRecord.ParentChildTable.ParentDisplayElement.GetRecord() as GridRecord; if (parentRecord != null) { Console.WriteLine(parentRecord); //use parentRecord.GetValue(columnName) to get a particular value } } }
ADAdministrator Syncfusion Team July 28, 2008 11:13 PM UTC