Text wrap problem in Flex Data Grid

Hi All,

Few days back I was facing issues with Flex Data Grid text wrap problem. Despite we have a property called “wrodWrap” on data grid, But unfortunately it doesnt work the way it suggest.

After navigating through the mx:DataGrid and GridColumn properties on Adobe API’s,  I came across
variableRowHeight=true which we have to set while using “wordWrap”.


[Note] This is not mentioned in the Adobe’s API documentation.

<DataGrid dataProvider=”{listData}” width=”100%″ height=”200″ wordWrap=”true” variableRowHeight=”true” />

Hope this helps.


Thanks
R Vashi

4 thoughts on “Text wrap problem in Flex Data Grid

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s