You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/09/25 09:47:05 UTC
[jira] [Resolved] (FLEX-33159) addSortField method in the
AdvancedDataGridEx degenarates the internal state of the Sort object
[ 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