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

Remove Table Header from GroupedGrid

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

3 Replies

AD Administrator Syncfusion Team July 4, 2005 04:22 AM

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

DS Damien Sawyer July 4, 2005 05: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";

AD Administrator Syncfusion Team July 4, 2005 06:26 PM

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

Live Chat Icon For mobile
Up arrow icon