flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-33159) addSortField method in the AdvancedDataGridEx degenarates the internal state of the Sort object
Date Wed, 25 Sep 2013 07:47:05 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Mclean resolved FLEX-33159.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Apache Flex 4.11.0

checked into develop branch
                
> addSortField method in the AdvancedDataGridEx degenarates the internal state of the Sort
object
> -----------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33159
>                 URL: https://issues.apache.org/jira/browse/FLEX-33159
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: ADG:MultiColumnSorting
>    Affects Versions: Adobe Flex SDK 4.5 (Release)
>            Reporter: Robert Bar
>            Assignee: Justin Mclean
>            Priority: Minor
>             Fix For: Apache Flex 4.11.0
>
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> In the last line of the addSortField method one can find the following statement:
> collection.sort.fields.push(field);
> which as the result adds the field to a Sort._fields array, but makes no chance to update
the Sort.fieldList array.
> Possible workaround - overwrite the addSortField method and replace the problematic line
with the following lines:
> var fields : Array = [];
> fields.push(field);
> collection.sort.fields = fields;

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

Mime
View raw message