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

Justin Mclean reassigned FLEX-33159:
------------------------------------

    Assignee: Justin Mclean
    
> 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
>   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

Reply via email to