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
close icon

Column appearance questions

I have a few questions regarding appearance and wonders if anyone has some insights.

Row height. Is it possible to lock all rows to a certain hight?
Is it possible to hide the column bar and the row bar to the left?

1 Reply

HA haneefm Syncfusion Team May 30, 2007 03:43 PM UTC

Hi Pontus,

Is it possible to lock all rows to a certain hight?
>>>>>
Yes, You can do this by setting the following properties in a grid.

this.gridGroupingControl1.TableOptions.RecordRowHeight = 50;
this.gridGroupingControl1.TableModel.Options.ResizeRowsBehavior = GridResizeCellsBehavior.None;

Is it possible to hide the column bar and the row bar to the left?
>>>>>
Yes, you can hide/show the rowheader using the ShowRowHeader property from the GridTableOptions. And also you can hide/show the
column header by setting the XXXXXGroupOptions.ShowColumnHeaders property. Here is a code snippet

this.gridGroupingControl1.TableOptions.ShowRowHeader = false;

this.gridGroupingControl1.TopLevelGroupOptions.ShowColumnHeaders = false;
this.gridGroupingControl1.NestedTableGroupOptions.ShowColumnHeaders = false;
this.gridGroupingControl1.ChildGroupOptions.ShowColumnHeaders = false;

Best regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon