Log in | Jump |

Flash Player roundup

Flash Flex Air FMS
Adobe

This thing was constructed on May 21, 2010, and it was categorized as Adobe Flex.
You can follow comments through the RSS 2.0 feed. You can leave a comment, or trackback.

By Anuj Gakhar:

I was displaying some data in a DataGrid and a requirement came up to show tooltips on the columns which had more data than the column width. Since increasing the column width was not an option, the ideal solution was to show the the ellipses (“…”) at the end of the column and the rest of the text to be shown as tooltip on the DataGrid Column. The first thought that came to my mind was to quickly write up an ItemRenderer. But then as explained here, you can simply use mx.controls.Label as your ItemRenderer as the Label class already had a text Property and it has the truncateToFit set to true and it shows the tooltip by default.

Read more: http://www.anujgakhar.com/2010/05/21/flex-tooltip-on-fixed-width-datagrid-columns/

This thing was constructed by .


You can follow comments through the RSS 2.0 feed. You can leave a comment, or trackback.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*