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,
How do i clone a setting of a grid and apply it to a different grid. The requirement i have is cloning a hierarchial grid and apply the exact setting to a differernt grid whose datasource is different.
Regards
Yogi
ADAdministrator Syncfusion Team May 17, 2006 05:42 AM UTC
Hi Yogi,
The grid.InitializeFrom method can be used to clone the hierarchial grid.
this.gridGroupingControl2.InitializeFrom(this.gridGroupingControl1);
Regards,
Calvin.
ADAdministrator Syncfusion Team May 17, 2006 02:25 PM UTC
Tks Calvin for the reply. But i am using Hierarchial Grid Data Bound and not Groupning Control. So how do i implement cloning with Hierarchial Griddata bound ?
Regards
Yogi
>Hi Yogi,
>
>The grid.InitializeFrom method can be used to clone the hierarchial grid.
>
>this.gridGroupingControl2.InitializeFrom(this.gridGroupingControl1);
>
>Regards,
>Calvin.
ADAdministrator Syncfusion Team May 18, 2006 11:02 AM UTC
Hi Yogi,
The Hierarchical GridDataBoundGrid can be cloned by cloning the GridBoundColumns/InternalColumns in each HierarchyLevel. Here is a sample.
Regards,
Calvin.