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.
Here''s the scenario:
I have a parent table with a nested child table.
I expand 2 rows in the parent table.
Now, I want to select the 3rd row in the child table associated with the 2nd expanded row.
I''m using the following code:
GridRangeInfo gri = GridRangeInfo.Cell(3, 3);
string tbl = gridRecordRow.ParentTableDescriptor.Name;
GridTableControl gtc = this.gridGroupingControl.GetTableControl(tbl);
gtc.ForceCurrentCellMoveTo = true;
gtc.CurrentCell.MoveTo(gri, GridSetCurrentCellOptions.SetFocus, true);
gtc.CurrentCell.ScrollInView(GridScrollCurrentCellReason.FindText);
gtc.CurrentCell.Refresh();
Ok, found it:
grr.ParentRecord.SetCurrent(gcd.Name);
This keeps me from going out to a parent (non-filtered) table. Also allows me to specify which column to display without calculating indexes.