flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raimundas Banevicius (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33473) DataGrid one direction sorting is not supported.
Date Wed, 03 Apr 2013 14:19:15 GMT
Raimundas Banevicius created FLEX-33473:

             Summary: DataGrid one direction sorting is not supported.
                 Key: FLEX-33473
                 URL: https://issues.apache.org/jira/browse/FLEX-33473
             Project: Apache Flex
          Issue Type: Improvement
          Components: Spark: DataGrid
    Affects Versions: Apache Flex 4.9.0
         Environment: Win
            Reporter: Raimundas Banevicius
            Priority: Minor
             Fix For: Apache Flex 4.9.0

Sometimes you need your datagrid to sort one direction only. (for instance accenting only.)
 Now it is not possible without workarounds/hacks.

Possible solution:

 add new option to GridColumn class : sortOneDirection:Boolean = false;

 if set to true : 

 DataGrid.as - in createSortFields()


            if (sortField)
                sortDescending = !sortField.descending;

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message