Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
141
Word Wrap feature on resize the column in MultiLine Cell of UltraWinGrid
posted

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.AutoFree
and 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.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

        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? 

Children