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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hiding columns in Databound grid

Thread ID:

Created:

Updated:

Platform:

Replies:

1557 Nov 11,2002 05:58 PM UTC Nov 11,2002 06:25 PM UTC WinForms 1
loading
Tags: GridControl
Soung Bae
Asked On November 11, 2002 05:58 PM UTC

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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;