Sort working in localhost only

Sort working in localhost only

kalzkalz Posts: 5Questions: 0Answers: 0
edited April 2013 in General
Hi
I have a file manager application which is private and cannot be linked.To test the sort features by date and size I have included the plugins from the plugin page.
I have the following in localhost which works perfectly
[code]








$(document).ready( function() {
$('#example').dataTable( {
"bPaginate":false,
"aoColumns": [{ "bSortable": false },{ "sType": "date-euro"},{ "sType": "file-size"}]
} );
} );







Name
Date
Size




Alpha
28/03/2013 12:57:40
12.04 KB


beta
28/03/2013 12:57:58
15.30 KB


Castle
28/03/2013 12:58:18
150.12 GB


Delta
28/03/2013 12:58:42
12.56 MB


Echos
28/03/2013 12:59:02
15.6 MB


one
28/03/2013 12:59:24
15.6 MB


two
28/03/2013 12:59:48
19.6 MB







[/code]

However when I use the code in my file manager application it does not work. Firebug is not giving out any errors whatsoever.I have double checked the dates and size formats just to be sure.The ascending and descending arrows are displayed but clicking on them is doing nothing at all.Any help would be greatly appreciated.Thanks

Replies

  • kalzkalz Posts: 5Questions: 0Answers: 0
    Solved my problem.I had within the to prevent text overflow in the cell.After removing that it works perfectly. It was not mentioned anywhere in the user contributed plugin scripts, but a great plugin nevertheless.
This discussion has been closed.