hiding columns

How do you hide columns in the grid?

3 Replies

AD Administrator Syncfusion Team August 15, 2005 03:25 PM UTC

Hi Salvatore, you can remove columns from the VisibleColumns collection. Then they will be hidden. Example: groupingGrid.TableDescriptor.VisibleColumns.Remove("ColumnName"); Stefan


KL Ken Lee January 16, 2006 06:44 PM UTC

How can I hide the child table column ? >Hi Salvatore, > >you can remove columns from the VisibleColumns collection. Then they will be hidden. > >Example: > >groupingGrid.TableDescriptor.VisibleColumns.Remove("ColumnName"); > >Stefan >


AD Administrator Syncfusion Team January 17, 2006 08:50 AM UTC

Hi Ken, You can hide the child Table column using the following code snippet. this.gridGroupingControl1.TableDescriptor.Relations[childTable.TableName].ChildTableDescriptor.VisibleColumns.Remove("childID"); Let me know if you need futher assistance. Regards, Madhan.

Loader.
Up arrow icon