|
|
|
[
Permlink
| « Hide
]
Kishan Venkataramana - [02/12/08 04:35 AM ]
Sending to IRB. Deferrable.
This is not a bug.
Unlike DataGrid, AdvancedDataGrid allows user to align the header text both horizontally and vertically. So, we are supposed to use "verticalAlign" & "horizontalAlign" styles for ADG. Please see the attached sample for more details. The docs for AdvancedDataGridColumn I find via http://livedocs.adobe.com/labs/flex3/langref/index.html shows textAlign (smae a DataGridColumn) as a style for AdvancedDataGridColumn but there's no mention of "verticalAlign" & "horizontalAlign" styles there.
Where does one obtain the list of the supported styles for ADG vs DG? Thanks @Alex, actually there's a mentions of the horizontalAlign and verticalAlign properties in the doc here: http://livedocs.adobe.com/flex/3/langref/mx/controls/advancedDataGridClasses/AdvancedDataGridHeaderRenderer.html#styleSummary
@Srinivas, it seems there's a much more great new features in the ADG, which only partially described on this page: http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_02.html Maybe it makes sense to make more complete list of changes / additions in the ADG for quick reference and refer to it from the mentioned page? And it might make sense to support the 'old' textAlign property in the ADG header, just to avoid this confusion with developers who used textAlign with DG and will try to use with AGD (as Alex and me did)? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||