Flex 4 – DataGrid with buttons in the cell

How to add button controls to the cells of the data grid? I want to have a button for each row in a column in the datagrid. The data grid control row does not need to be selected in any way.
It’s really easy. Just define a custom item renderer for the column













Use the dataprovider object and outerDocument of the data reference row to access methods outside the item renderer.

Hope this helps!

How to add button controls to the cells of the data grid? I want to have a button for each row in a column in the datagrid. The data grid control row does not need to be selected in any way.

This is really simple. Only You need to define a custom item renderer for the column






< s:ItemRenderer width="100%">






Use the dataprovider object and outerDocument of the data reference row to access methods outside the item renderer.

Hope this helps!

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5831 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.