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.
Unfortunately, activation email could not send to your email. Please try again.

TabBarSplitter grid column header text

Thread ID:

Created:

Updated:

Platform:

Replies:

13938 May 13,2004 02:59 PM May 13,2004 04:54 PM Windows Forms 3
loading
Tags: GridControl
Patrick Noble
Asked On May 13, 2004 02:59 PM

I have a TabBarSplitter control with 5 pages and an identical databound grid on each page. When I set the header text on any column on any one page, the same text appears in the headers of the corresponding columns in the other pages. This happens both in design mode and programatically. I built a small test project to try and isolate the issue but it did not exhibit this behaviour, so I guess I must have inadvertantly set a property somewhere. Any ideas?

Administrator [Syncfusion]
Replied On May 13, 2004 03:20 PM

Are you using the exact same GridBoundColumns in all the grid?

Patrick Noble
Replied On May 13, 2004 03:50 PM

Whoops! I created the first one in the designer then copied and pasted the other four thinking I was creating "copies" rather than just pointing to the same data structure. Is there a quick way to create the other four grids as actual separate copies since I can''t use copy and paste? >Are you using the exact same GridBoundColumns in all the grid?

Administrator [Syncfusion]
Replied On May 13, 2004 04:54 PM

You can try using grid.GridBoundColumns.Clone() to get a cloned copy (4 times if you have 5 grids), and then set the cloned copies to the GridBoundColumns collections of the other grids. (If this GridBoundColumns collections property is readonly so you cannot set it, you can just add the individual columns of the cloned collection to the grid''s collection.)

CONFIRMATION

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.

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.

;