I have tried fieldname:"number"
and valuetype:"number"
in the json file and
ex:columnFormats="text, number, number, number"
in :
<div ex:role="view"
ex:viewClass="Tabular"
ex:label="List"
ex:columns=".COMMON, ._C2__Sum, ._C3__Sum, ._C4__Sum"
ex:columnLabels="AFS Common Name, CA Est, OR Est, WA Est"
ex:columnFormats="text, number, number, number"
And am still unable to sort numerically, it sorts the numbers as if
they were strings, i.e. 836, 77, 76, 756, 753, 74
On May 20, 5:52 am, David Karger <[email protected]> wrote:
> I might be wrong, but I believe there is a way to specify the type of
> the field in the column header; will that suffice?
> Try fieldname:number in the column header.
>
> flatline wrote:
> > I'm directly importing a spreadsheet with textual and numeric fields.
> > One of the numeric fields can have missing data: is it possible to
> > force the column sorter to sort them by numeric value without
> > generating a supporting JSON data file specifying the value types?
>
> > Thanks a lot,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---