How to hide fix column of the DataBoundGrid

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Up arrow icon