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.
Hello.
I have two tables in a gridgroupingcontrol, linked by the field "ID".
In the child grids, the column "ID" is hidden. There is a property or a way to show it?
thank you.
ADAdministrator Syncfusion Team June 15, 2005 02:10 PM UTC
Did you try adding the ID column to the child''s VisibleColumns collection?
GridTableDescriptor td = groupingGrid.TableDescriptor.Relations["ParentToChild"].ChildTableDescriptor;
td.VisibleColumns.Add("ID");
JGJulien GoldbergJune 15, 2005 03:19 PM UTC
I''v tried. Seems to do nothing.
Thank you
>Did you try adding the ID column to the child''s VisibleColumns collection?
>
>
>GridTableDescriptor td = groupingGrid.TableDescriptor.Relations["ParentToChild"].ChildTableDescriptor;
>td.VisibleColumns.Add("ID");
>
ADAdministrator Syncfusion Team June 15, 2005 04:17 PM UTC
Try adding it back into the Columns collection. This code worked for me.
GridTableDescriptor td = gridGroupingControl1.TableDescriptor.Relations["ParentToChild"].ChildTableDescriptor;
td.Columns.Add("ID");