Thread ID:

Created:

Updated:

Platform:

Replies:

I want to hide the row/column id''s that display in row zero and column zero respectively. To that end, I have hidden row zero using both
Me.GridControl1.HideRows(0) = True
and
Me.GridControl1.Rows.Hidden(0) = True
However, now the user is unable to resize the columns at runtime.
How can I enable column resizing when row zero is hidden? Or, what is the preferred method suppressing the row/column id''s?
Thanks,
s.s.

By default in a GridControl, if you place the cursor over the header border where the hidden column is, and you double click it, the hidden column will resize to what it was before it was hidden.
In a GridDataBoundGrid, this behavior is not there by default. But you can add it by handling the ResizingColumns event.

So, in other words, the USER cannot resize a column at runtime, unless row zero is visible?
Thanks,
s.s.
>By default in a GridControl, if you place the cursor over the header border where the hidden column is, and you double click it, the hidden column will resize to what it was before it was hidden.
>
>In a GridDataBoundGrid, this behavior is not there by default. But you can add it by handling the ResizingColumns event.
>

>>So, in other words, the USER cannot resize a column at runtime, unless row zero is visible?
No. You can set the InsideGrid flag in the grid.ResizeColsBehavior property to allow resizing on any cell border.