You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Raimundas Banevicius (JIRA)" <ji...@apache.org> on 2013/04/03 16:19:15 UTC

[jira] [Created] (FLEX-33473) DataGrid one direction sorting is not supported.

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()

change:

            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