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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TabBarSplitter grid column header text

Thread ID:





13938 May 13,2004 06:59 PM UTC May 13,2004 08:54 PM UTC WinForms 3
Tags: GridControl
Patrick Noble
Asked On May 13, 2004 06:59 PM UTC

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 07:20 PM UTC

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

Patrick Noble
Replied On May 13, 2004 07:50 PM UTC

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 08:54 PM UTC

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.)


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

Live Chat Icon For mobile
Live Chat Icon