Regex error with Currency Sorting Plugin

Regex error with Currency Sorting Plugin

RobaybRobayb Posts: 9Questions: 0Answers: 0
edited April 2014 in General
I am using IE 8 ( no choice) and the data sort plugin for currency.

I'm getting an "Object doesn't support this property or method" error on this line. Not sure if str should be on same line as var, but I tried and that still gives error.

// Init the regex just once for speed - it is "closure locked"
var
str = jQuery.fn.dataTableExt.oApi._fnEscapeRegex( validChars ),
re = new RegExp('[^'+str+']');

Thank You

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    Try using DataTables 1.10 which has currency sorting built in.

    Allan
This discussion has been closed.