Robert Bar created FLEX-33159:
---------------------------------
Summary: 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
Priority: Minor
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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira