flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurice Amsellem (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34317) Sort MobileGridColumn Numerically
Date Mon, 12 May 2014 19:45:16 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13995541#comment-13995541
] 

Maurice Amsellem commented on FLEX-34317:
-----------------------------------------

Yes, XMListColllection is using String to store values internally, so it won't sort numerical
values properly.
If you can convert to numbers, that would be fine.
Otherwise,I will add the missing sort Function.

> Sort MobileGridColumn Numerically
> ---------------------------------
>
>                 Key: FLEX-34317
>                 URL: https://issues.apache.org/jira/browse/FLEX-34317
>             Project: Apache Flex
>          Issue Type: New Feature
>          Components: Mobile: DataGrid
>    Affects Versions: Apache Flex 4.11.0, Apache Flex 4.12.0, Apache Flex 4.13.0, Apache
Flex 4.12.1
>         Environment: OSX
>            Reporter: Bryan Saltzman
>            Assignee: Maurice Amsellem
>            Priority: Critical
>              Labels: grid, numeric, sort, sorting
>             Fix For: Apache Flex 4.13.0, Apache Flex 4.12.1
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> This is actually for the experimental and instrumental MobileGrid not listed in the components
dropdown. I need to be able to click on a header and sort numeric data.  The MobileGridColumn
doesn't have a sortCompareFunction so I am not sure what to do.  It looks like a simple change.
 https://apache.googlesource.com/flex-sdk/+/OK_commit_donation/frameworks/projects/experimental_mobile/src/spark/components/supportClasses/MobileGridColumn.as



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message