The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team July 4, 2005 09:22 AM UTC
Try setting this property:
this.gridGroupingControl1.TableDescriptor.Name = "someName";
DSDamien SawyerJuly 4, 2005 10:51 PM UTC
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";
ADAdministrator Syncfusion Team July 4, 2005 11:26 PM UTC
If I understand what you want, this works fro me using 3.2.1.0.
http://www.syncfusion.com/Support/user/uploads/GGC_ArrayList_20b1dbb5.zip