Hi,
I use a Ultragrid with CardView to show a datatable with just one row.
So on the left are the columnheaders and on the right the values of the one row.
Now in some cells could be more text and I like the cell to be higher.....but I don't know how.
I set every property I could imagine with sizing to free or auto...but it doesn't work.
If it isn't possible to do that automatically I would be happy that the user could make the cell
bigger by himself with the mouse as it works without cardview....but I don't know how!! :-((
I set the following properties in the InitializeLayout-Event:
band.CardSettings.AutoFit =
True
That is the only way I could find to allow the cell heights to be sizeable.
Thank you very much. But I do n ot use RowLayout.....is it really necessary to get this behaviour?
If I set Rowlayout to true the whole grid looks different...
I took a quick look, and it appears that the cell heights are not sizable, unless you use RowLayouts. So you need to set RowLayoutStyle (or UseRowLayout if you are using an older version) on the band.
Then you can size the cells programmatically using the column.RowLayoutColumnInfo.PreferredLabelSize and/or PreferredCellSize.
No ideas???? Please help me! Thank you soo much!