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

hide and show columns

Thread ID:





13251 Apr 23,2004 01:47 PM UTC Apr 23,2004 02:21 PM UTC WinForms 1
Tags: GridControl
Vincent Lo
Asked On April 23, 2004 01:47 PM UTC

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 02:21 PM UTC

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 +/-).


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon