-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I have a number stored as a string in my collection. It's sorting the following way:
5
4
35
34
3
...
I'd like to sort them as numbers. Here's what I've tried -- none of the commented approaches fix this.
{
title: "Quantity"
data: "quantity"
# type: "num"
# sType: "numeric"
# mData: (obj, type) -> return parseInt(obj.quantity)
# mRender: (val, type, obj) -> return parseInt(val)
}
Any ideas what would work?
Metadata
Metadata
Assignees
Labels
No labels