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.

hide and show columns

Thread ID:

Created:

Updated:

Platform:

Replies:

13251 Apr 23,2004 09:47 AM Apr 23,2004 10:21 AM Windows Forms 1
loading
Tags: GridControl
Vincent Lo
Asked On April 23, 2004 09:47 AM

Hi, Can you show me how can i hide and show a column in the ExpandGrid (DataBoundGrid) I manage to hide a column by setting LayoutColumns(string[] layoutcolumns), but in this way the column i want to hide is actually deleted from Internal Column collections... how can i retain the columns in the underlying table but remain itself hidden?

Administrator [Syncfusion]
Replied On April 23, 2004 10:21 AM

This code this.gridDataBoundGrid1.Model.Cols.Hidden[2] = true; placed at the bottom of FormLoad will hide the first column in each table (2 is because 0 is the header and 1 is the +/-).

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.

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.

;