1 Reply Latest reply on Nov 27, 2016 3:31 AM by Rodolpho Nascimento

    How to

    manjud4724327 Level 1

      Hi Friends,

       

      I am trying to set text inside datagridcolumns header but it is not fixing inside the width it overflows the text or hide the text i dont want it wrap. i need it to fix with in the width which i am specify using

       

      <mx:Panel width="100%" height="100%" id="completegridContainer" headerHeight="0" verticalScrollPosition="0">

        <mx:Panel width="100%" height="100">

        <mx:HBox width="100%" >

        <mx:VBox width="60%">

        <mx:AdvancedDataGrid id="cmplDg" width="100%"   dragEnabled="false" draggableColumns="false" dragMoveEnabled="false"

          verticalGridLines="true" >

       

        <mx:groupedColumns>

       

        <mx:AdvancedDataGridColumnGroup minWidth="60">

      <mx:AdvancedDataGridColumnGroup minWidth="120">

      <mx:AdvancedDataGridColumn minwidth="30"/>

      <mx:AdvancedDataGridColumn minwidth="30"/>

      <mx:AdvancedDataGridColumn minwidth="30"/>

      <mx:AdvancedDataGridColumn minwidth="30"/>

      <mx:AdvancedDataGridColumn minwidth="30"/>

      </mx:AdvancedDataGridColumnGroup >

      <mx:groupedColumns>

      </mx:vbox>

        <mx:VBox width="40%">

      </mx:vbox>

      ..

      ...

      ....

       

       

      the problem is here the text is not fitting inside the 30% of width it expands the datagrid ,panel,vbox everything else text shows half crushed.

       

      how to fix the texts with in the width of the column.

       

      Thanks in advance,

      Keerthy