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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hiding columns in a GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

53247 Dec 11,2006 04:47 PM UTC Dec 11,2006 09:53 PM UTC WinForms 1
loading
Tags: GridControl
Ronnie Kleinfeld
Asked On December 11, 2006 04:47 PM UTC

Hi,

I use a GridDataBoundGrid.
I added the column and now I need to hide several of them.

How do I do this?

Thanks

Administrator [Syncfusion]
Replied On December 11, 2006 09:53 PM UTC

Hi Ronnie,

You can use something like in the code below to hide columns in a griddataboundgrid.

// to hide any single column in grid
this.gridDataBoundGrid1.Model.HideCols[1] = true;

// to hide more than one column
this.gridDataBoundGrid1.Model.HideCols.SetRange(1, 3, true);

Let us know if you have any other questions.
Thanks,
Rajagopal

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

;