> Hi > > When datagrid has horizontal scroll bar then headerWordWrap property does not work as expected. Sometimes the header text is in different lines which is correct and sometimes header text is truncated and only partial text is visible. > > Any pointer is highly appreciated. > > See the test Case below. Just scroll to all the columns and notice column header text. It behaves kind of wired. > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > xmlns:cc="customComponents.*" > layout="vertical" > verticalAlign="top" > verticalGap="0" > horizontalGap="0" > height="100%" > width="100%" > viewSourceURL="srcview/index.html"> > <mx:Script> > <![CDATA[ > import mx.collections.ArrayCollection; > ]]> > </mx:Script> > <mx:DataGrid width="100%" > height="100%" > dragEnabled="false" > id="cmpGrid" > horizontalScrollPolicy="auto" > verticalScrollPolicy="auto" > dataProvider="{new ArrayCollection()}"> > <mx:columns> > <mx:DataGridColumn sortable="false" > headerText="Column1"/> > <mx:DataGridColumn headerText="Actions" > sortable="false" > minWidth="65" > /> > <mx:DataGridColumn > headerText="Company Code" > editorDataField="value"/> > <mx:DataGridColumn > headerText="Period Type Code" > editorDataField="value"/> > <mx:DataGridColumn headerText="Rate Type" > editorDataField="value"/> > <mx:DataGridColumn headerText="Tier Code"/> > <mx:DataGridColumn headerWordWrap="true" > headerText="Footprint Type Code"/> > <mx:DataGridColumn headerText="Charge Code"/> > <mx:DataGridColumn headerText="Unit Rate"/> > <mx:DataGridColumn headerWordWrap="true" width="100" > headerText="Passthru Airtime Charge Ind."/> > <mx:DataGridColumn headerWordWrap="true" > headerText="Passthru LD Charge Ind."/> > <mx:DataGridColumn headerWordWrap="true" > headerText="Passthru Surcharge Charge Ind."/> > <mx:DataGridColumn width="145" > headerText="Start Date" > itemEditor="mx.controls.DateField"/> > <mx:DataGridColumn width="145" > headerText="End Date" > itemEditor="mx.controls.DateField"/> > <mx:DataGridColumn headerWordWrap="true" > headerText="Usage Charge Detail Ind"/> > <mx:DataGridColumn headerWordWrap="true" > headerText="Max Unit Rate"/> > <mx:DataGridColumn headerWordWrap="true" > headerText="Surcharge Amount"/> > <mx:DataGridColumn headerText="Last Updated By"/> > <mx:DataGridColumn headerText="Last Updated Date"/> > </mx:columns> > </mx:DataGrid> > > </mx:Application> > > Thanks > ilikeflex
-- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

