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.

Remove Table Header from GroupedGrid

Thread ID:





31226 Jul 4,2005 01:45 AM Jul 4,2005 07:26 PM Windows Forms 3
Tags: GridControl
Damien Sawyer
Asked On July 4, 2005 01:45 AM

Hi, In my grouped grid control there is a ''tablename'' appearing to the left of the "Drag a column header here to group by that column" label. In my case it is showing as "ArrayList" as that is the IList I''ve bound to the the grid. Can someone please tell me how to hide/remove this? I''ve had a look through the properties but can''t seem to find it. Thanks very much in advance, Damien Sawyer

Administrator [Syncfusion]
Replied On July 4, 2005 05:22 AM

Try setting this property: this.gridGroupingControl1.TableDescriptor.Name = "someName";

Damien Sawyer
Replied On July 4, 2005 06:51 PM

Thanks Clay, I did try that, however to no avail. It doesn''t seem to have any effect. If it helps, my code is below... Thanks for any help you might be able to give... IList items = new ArrayList(); items.Add(Application.Item("001055")); ArrayList Columns = new ArrayList(); this.grItems.ShowGroupDropArea = true; this.grItems.TopLevelGroupOptions.ShowCaption = false; this.grItems.TableDescriptor.Columns.Clear(); // Code below to add colums via object reflection... truncated ..... GridColumnDescriptor gcd = new GridColumnDescriptor(pi2.Name, pi2.Name, myAttrib.ColumnName, false, myAttrib.ColumnWidth); this.grItems.TableDescriptor.Columns.Add(gcd); ...... this.grItems.DataSource = items; //this.grItems.TableDescriptor.Name = ""; // This removes the "arraylist" label from the group by bar this.grItems.TableDescriptor.Name="New Name";

Administrator [Syncfusion]
Replied On July 4, 2005 07:26 PM

If I understand what you want, this works fro me using http://www.syncfusion.com/Support/user/uploads/GGC_ArrayList_20b1dbb5.zip


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.