Hiding Column and Unhiding Column

Hi,
I am using Grid Groupping Control.

Hide and Unhide Column.

Please resolve the problem asap


Regards
Tannearu

1 Reply

AD Administrator Syncfusion Team December 1, 2006 07:03 AM UTC

Hi Tannearu,

Use the VisibleColumns property of the GridTableDescriptor to show / hide / move the columns in the grid. Below is a code snippet

//For hide the "Col0" column
this.grid.TableDescriptor.VisibleColumns.Remove("Col0");

//For show the "Col0" column
this.grid.TableDescriptor.VisibleColumns.Add("Col0");

Best Regards,
Haneef

Loader.
Up arrow icon