jQuery tablesorter 2.0 - Parsers Globalize

# tablesorter

## Parsers Globalize

### Flexible client-side table sorting

Back to documentation

NOTE!

- In v2.24.1,
  - An internal change made it necessary to change the `lang` option to only hold a string of the set language.
  - To cache the Globalize object, save it as a `Globalize` option (see code example below).
- jQuery Globalize supports the parsing of locale specific data, including numerous number formats (including Arabic, Chinese & Japanese) and custom date formats.
- This is a very basic example using English only. For another example, see the weekday & month parsers.
- For more details on how to set up Globalize, see the Grouping widget documentation about Globalization.

# Demo

parsed values within the column

AlphaNumeric | Numeric (Globalize) | Animals | Date (Globalize)
--- | --- | --- | ---
abc 123 | 12,735.00 | Koala | Jan 22, 2015 AD
abc 1 | 65.34 | Ox | Mar 30, 2015 AD
abc 9 | ∞ | Girafee | Dec 31, 2014 AD
zyx 24 | -∞ | Bison | Apr 13, 2015 AD
abc 11 | 0.44 | Chimp | Oct 31, 2015 AD
abc 2 | 5.6 | Elephant | May 3, 2015 AD
abc 9 | 1,345,155 | Lion | Jun 30, 2014 AD
ABC 10 | 2,875.33 | Zebra | Feb 14, 2015 AD
zyx 1 | 99.9 | Koala | Mar 20, 2015 AD
zyx 12 | 1.2 | Llama | Mar 2, 2015 AD

# Javascript

# HTML