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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to hide fix column of the DataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

51899 Nov 16,2006 06:23 AM UTC Nov 16,2006 06:42 AM UTC WinForms 1
loading
Tags: GridControl
Sandeep
Asked On November 16, 2006 06:23 AM UTC

Hi,
Is there any way to hide the fix column of the left side? I just want to show the cells having data.
Also is there any way to hide the column which has data. I want to have that data but the column should be hidden.

Thanks,
Sandeep

Administrator [Syncfusion]
Replied On November 16, 2006 06:42 AM UTC

Hi Sandeep,

Is there any way to hide the fix column of the left side?
Yes, You can use the Properties.RowHeader property to False to hide the rowheader cells in a grid. Below is a code snippet

this.grid.Properties.RowHeader = false;

is there any way to hide the column which has data?
Yes, You can use the Model.Cols.Hidden collection property to hide a particular column in a grid. Here is a code snippet

this.grid.Model.Cols.Hidden[1] = true;

Best Regards,
Haneef

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

;