Search code examples
apache-flexflash-builderadvanceddatagridrichtext

Flex: Display rich text in AdvancedDataGrid column?


I have some rich text created using the flex (flash builder 4) rich text input control. I want to display at least some of it in a column of an AdvancedDataGrid control.

Is this possible / how?


Solution

  • Yes, create an itemRenderer which extends the MXDataGridItemRenderer class and put a RichText control inside the itemRenderer to display the text.

    Be sure to set your new itemRenderer as the itemRenderer for the AdvancedDataGrid column you want to display these values in.