Sort working in localhost only
Sort working in localhost only
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
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
This discussion has been closed.
Replies