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.
hi, guys, say two nested table, one is parent, one is child.
how can I easily align childtable's third column (more) to parenttable's Newly added col (say, the same name as child table's) ? looks like the whole look&feel like Tree-Grid. or there are some other easier way to do so.. example ...
second question: what about the newly added col in parent is Virtual column ?
NANisha Arockiya A Syncfusion Team March 4, 2009 01:23 PM UTC
Hi David,
Thanks for your interest in syncfusion Products.
Query 1:
how can I easily align childtable's third column (more) to parenttable's Newly added col
Frozen Column concept can be used to synchronise the Parent column with Child column.
for (int n = 0; n <= freezeCol; n++) parentToChildRelationDescriptor.ChildTableDescriptor.Columns[n].TrackWidthOfParentColumn = gridGroupingControl1.TableDescriptor.Columns[n].Name;
When freezing columns you have to make sure that the frozen columns in the nested tables are properly aligned with the parent table. The grid does not support diffent scroll divider x-coordinates for nested tables. The only exception to this rule is if you turn off freezing columns for all nested tables by setting/leaving ChildTableDescriptor.FrozenColumn = ""; (empty string) all together. The TrackWidthOfParentColumn propetry of a column descriptor ensures that columns are aligned and stay in sync.
Query 2: what about the newly added col in parent is Virtual column ?
Could you please provide more information on this issue?