DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Flex Datadrig Wordwrap

  • submit to reddit
        // turn wordwrap on a datagrid column

    <mx:DataGrid id="dg" width="100%" height="100%" rowCount="5" variableRowHeight="true">
            <mx:DataGridColumn id="Col" dataField="@desc" headerText="Risk" width="400" wordWrap="true" />
            <mx:DataGridColumn dataField="@status" headerText="Level"/>
            <mx:DataGridColumn dataField="@count" headerText="Violation"/>