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
close icon

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.
Live Chat Icon For mobile
Up arrow icon