Monday, April 27, 2009

AdvancedDataGrid control

The AdvancedDataGrid control expands on the functionality of the standard DataGrid control to add data visualization capabilities to your Adobe® Flex™ application.

The following table describes the main data visualization capabilities of the AdvancedDataGrid control:

Capability

Description

Sorting by multiple columns

Sort by multiple columns when you click in the column header. For more information, see Sorting by multiple columns.

Styling rows and columns

Use the styleFunction property to specify a function to apply styles to rows and columns of the control. For more information, see Styling rows and columns.

Displaying hierarchical and grouped data

Use an expandable navigation tree in a column to control the visible rows of the control. For more information, see Hierarchical and grouped data display.

Creating column groups

Collect multiple columns under a single column heading. For more information, see Creating column groups.

Using item renderers

Span multiple columns with an item renderer and use multiple item renderers in the same column. For more information, see Using item renderers with the AdvancedDataGrid control.



To disable sorting for an entire AdvancedDataGrid control, set the AdvancedDataGrid.sortableColumns property to false. To disable sorting for an individual column, set the AdvancedDataGridColumn.sortable property to false.

The way that you sort multiple columns is based on the setting of the sortExpertMode property. By default, the sortExpertMode property is set to false. This setting means that you click in the header area of a column to sort the rows of the AdvancedDataGrid control by that column. Then you click in the multiple column sort area of the header to sort by additional columns. To use the Control key to select every column after the first column to perform sort, set the sortExpertMode property to true.

No comments:

Post a Comment