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 columns in Databound grid

Does anyone know how to hide a column on a databound grids? Thanks

1 Reply

AD Administrator Syncfusion Team November 11, 2002 06:25 PM UTC

Use the GridDataBoundGrid.Model.Cols.Hidden property. So to hide column 2, try this.gridDataBoundGrid1.Model.Cols.Hidden[2] = true; //C# Me.GridDataBoundGrid.Model.Cols.Hidden(2) = True ' VB

Loader.
Live Chat Icon For mobile
Up arrow icon