/** * This plug-in will add automatic detection for currency columns to * DataTables. Note that only $ and £ symbols are detected with this code, * but it is trivial to add more or change the current ones. This is best used * in conjunction with the currency sorting plug-in. * @name Currency * @author Allan Jardine */ jQuery.fn.dataTableExt.aTypes.unshift( function ( sData ) { var sValidChars = "0123456789.-,"; var Char; /* Check the numeric part */ for ( i=1 ; i