I have an UltraGrid that has one column that may have a lot of data in it to display (but not edit). I set the CellActivation = Activation.ActivateOnly and VertScrollBar = true. This works fine. When the user clicks on a cell with a lot of data the vertical scroll bar appears as expected however the fomatting in the cell is lost. How can I retain the formatting while keeping the vertical scroll bar functionality. I tried to post a before and after screen shot but the site only allowed me to post 1 attachement so here is the after shot.
I am speculating because I don't see anything wrong with the formatting going by the screenshot...When you put a cell into edit mode a TextBox control is displayed therein, and the .NET TextBox does not support GDI+, where cells render this way by default. The result is a different number of characters per line which, if you were relying on the way they look when not in edit mode, would be different when in edit mode. If I misunderstood this please post the before/afer screenshots by zipping them and posting the .zip and we'll try to help.
Hi Brian,
Thanks for your reply and explanation. As you requested I am including before and after screen shots as an attached zip file for your review.
I am wondering if I am stuck with this behavior or is there a viable solution?
Thanks in advance
Omer