jakesylvestre / cing

Automatically exported from code.google.com/p/cing
0 stars 0 forks source link

Can't javascript numerically sort on a column. #260

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Look at dihedral table in:
http://nmr.cmbi.ru.nl/NRG-CING/data/kw/2kwb/2kwb.cing/2kwb/HTML/Molecule/A/PHE13
3

sorting on the max column does an alphabetical sort instead of a numeric sort.

Original issue reported on code.google.com by jurge...@gmail.com on 24 Sep 2010 at 11:31

GoogleCodeExporter commented 9 years ago
This was fixed by adding proper data type def.
$CINGROOT/HTML/customTables.js it's defined fine:
{"sType": "numeric", "sClass": "right"},

Fixed in r847 for all columns and in DR section as well.

Original comment by jurge...@gmail.com on 24 Sep 2010 at 11:38