Hi there,
On resize the column in Muti-line cell of the ultrawingrid it does not word wrap i.e. it breaks/split the word in two consecutive lines .Even though I set the: RowSizing property to UltraWinGrid.RowSizing.AutoFreeand set the Column.CellMultiLine = DefaultableBoolean.True
and I am setting these properties in the AfterColPosChanged event as I can not use the AfterRowLayoutItemResized event in my project settings.How can I acheive the word wrap feature. Please help.
Thanks.
I'm not sure why you would set these properties in AfterColPosChanged. This event is only going to fire AFTER something has happened to change the column width or position, and it will fire every time such a change happens. So that doesn't really make sense. You only need to set this property on the column once. So I would set it in InitializeLayout.
MultiLine means that the cell will honor return characters in the text. It does not automatically wrap. Is there a WordWrap property on the column?
Thanks for replying . I was trying to do it in AfterColPosChanged because I can’t set the property of the column to wordwrap, because there is no such property for the column. I want that it should wrap the text by word when the grid come for the first time( I think for this I can use InitializeLayout) and when user resize the columns also.