Tag Archives: headerStyleName

Setting the border color on the MX Accordion container headers in Flex

In a previous example, “Setting the border style on the MX Accordion container in Flex”, we saw how you could set the border style on an MX Accordion container in Flex 3 by setting the borderStyle style.

The following example shows how you can set the border color on an MX Accordion container headers in Flex 3 by setting the borderColor style on the Accordion container’s headerStyleName style selector.

Continue reading Setting the border color on the MX Accordion container headers in Flex

Aligning the header text in a DataGrid column in Flex (redux)

In a previous example, “Aligning the header text in a DataGrid column in Flex”, we saw how you could set the text alignment on a Flex DataGrid control’s DataGridColumn by setting the headerStyleName and textAlign styles.

The following example shows a few more methods of aligning data and headers in a DataGrid and individual DataGrid columns by setting a combination of the headerStyleName and textAlign styles on the DataGrid and DataGridColumn instances.

Full code after the jump.

Continue reading Aligning the header text in a DataGrid column in Flex (redux)