In summary: How does one differentiate between a column which is
sorting ascending and not sorting at all?

Detail:
Prior to Flex3 there was a property of a DataGrid (sortIndex) which
afforded one the ability to determine which column was the sort
column. This property was removed in Flex 3's DataGrid. (perhaps
because a single value is insufficient when multicolumn sorting is inuse)

In flex3's datagrid:

One can read the order of the columns by the order that the
DataGridColumn items are returned in the datagrid's columns attribute.

One can determine if any column is sorting descending by the
sortDescending attribute of the individual DataGridColumn item being
set to true. However if the column is NOT sorting at all OR if it is
sorting ascending the value of sortDescending is false.

How does one differentiate between a column which is sorting ascending
and not sorting at all?

Presumably in flex2 for single column sorting one could determine this
with the datagrid's sortIndex property (typically either no column or
one column would be the sort column), but with this attributes removal
from dataGrid I'm not sure how to do this.

Any hints appreciated!





Reply via email to