I'm using Datatables v1.9.4, and I hooked up naturalSort.js to sort my table. All was working fine until I styled the site, and now the table has inner <divs> inside the <td> elements. Now the sort routines are being passed <div>03/04/14 11:17 PM</div> as parameters, rather than the actual text value to be displayed to the user, thus sorting no longer works.
Is there a way to tell Datatables only to try and sort on the text content of the cell, and not the entire markup contained within it?
Is there a way to tell Datatables only to try and sort on the text content of the cell, and not the entire markup contained within it?