We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Cloning

Thread ID:





44184 May 16,2006 02:21 PM UTC May 18,2006 11:02 AM UTC WinForms 3
Tags: GridControl
Administrator [Syncfusion]
Asked On May 16, 2006 02:21 PM UTC

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

Administrator [Syncfusion]
Replied On 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.

Administrator [Syncfusion]
Replied On 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.

Administrator [Syncfusion]
Replied On 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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon