1 Reply Latest reply on Apr 21, 2010 12:37 AM by David_F57

    Header Word Wrap

    SonOfQatify

      Greetings all,

       

      This is my first time to enter this forum and I wish to get my answer solve.

      I have a DataGridColumn like the following:

      <mx:DataGridColumn

       

       

      dataField="task" headerText="Approval Letter From Admin" width="80" paddingLeft="5"/>

       

      what I want to do is to make the headerText to wrap when the words of a sentence exceds the width of 80 to be in the next line.

      i.e. if I have the text heared as | Approval Letter From Admin | in one line in the same cell

      I want it to be in two lines in the same cell as

                          Approval Letter

                            From Admin

       

      I think I should use hearderWordWrap or WordWrap like in HTML, but I don't know how to use it here.

       

      Thanks you in advance.

       

      Best regards...