I have a wingrid cell with multiline property and i have set vertical scroll bars as true. As i type in multiline is working but i couldn't see the vertical scroll bars. Weird!
I'm creating grid at run-time, should i specify any overrides in the InitializeLayout event?
Need help on this..
I'm not sure what youare expecting here. The cell and the row are the same height. There's no way to adjust the height of a single cell.
If you are using RowLayout mode, you might be able to set the SpanY on the column to get the cells of one column to span a height greater than all the other cells. But this would just end up leaving a lot of empty space in the row, so I'm not sure I see the point.
Yes., Mike. I was overriding the column style to a different data type which prevented the scrollbars.
I have another interesting scenario: I was supposed to increase the cell height in the grid cell (cell height and not the row, column height) if the characters increase certain limit. I'm trying to check in the BeforeCellActivate event which would give me the maxlength allowed for the cell.
if (grid.ActiveCell.Row.Cells["MaxLength"].Value) > 500 - I have my maxlength hidden in another column.
{
Grid.ActiveCell.Row.Height = 40;
}
This is for the row. Is there a way to increase the cell height alone?
It increases the row height of all the columns and my design goes for a toss.
Thanks.,
Hi,
I just tested this out using the latest version of NetAdvantage 8.1 and it works fine for me. The scrollbars only show up when the cell is in edit mode, which is the way it's supposed to work.