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
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
<html> <head> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.dataTables.min.js"></script> <script type="text/javascript" src="js/dateTimeSorting-eu.js"></script> <script type="text/javascript" src="js/fileSizeSorting.js"></script> <script type="text/javascript"> $(document).ready( function() { $('#example').dataTable( { "bPaginate":false, "aoColumns": [{ "bSortable": false },{ "sType": "date-euro"},{ "sType": "file-size"}] } ); } ); </script> </head> <body> <table id="example" cellspacing="2" cellpadding="3" summary="test" bgcolor="#ccc"> <thead> <tr> <th>Name</th> <th>Date</th> <th>Size</th> </tr> </thead> <tbody> <tr> <td>Alpha</td> <td> 28/03/2013 12:57:40</td> <td> 12.04 KB</td> </tr> <tr> <td>beta</td> <td> 28/03/2013 12:57:58</td> <td> 15.30 KB</td> </tr> <tr> <td>Castle</td> <td> 28/03/2013 12:58:18</td> <td> 150.12 GB</td> </tr> <tr> <td>Delta</td> <td> 28/03/2013 12:58:42</td> <td> 12.56 MB</td> </tr> <tr> <td>Echos</td> <td> 28/03/2013 12:59:02</td> <td> 15.6 MB</td> </tr> <tr> <td>one</td> <td>28/03/2013 12:59:24</td> <td> 15.6 MB</td> </tr> <tr> <td>two</td> <td>28/03/2013 12:59:48</td> <td> 19.6 MB</td> </tr> </tbody> <tfoot> </tfoot> </table> </body> </html>
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