Posted By

luxorweb on 11/23/10


Tagged

html dataTables


Versions (?)

dataTable Esempio HTML


 / Published in: HTML
 

  1. <style type="text/css" title="currentStyle">
  2. @import "include/css/dataTables.css";
  3. </style>
  4. <script type="text/javascript" language="javascript" src="include/js/dataTables/jquery.js"></script>
  5. <script type="text/javascript" language="javascript" src="include/js/dataTables/jquery.dataTables.js"></script>
  6. <script type="text/javascript" charset="utf-8">
  7.  
  8. $(document).ready(function() {
  9. $('#example').dataTable({
  10. "bPaginate": false,
  11. "oLanguage": {
  12. "sSearch": "Cerca / Filtra:",
  13. "sInfo": "Trovati _TOTAL_ elementi",
  14. "sInfoFiltered": "su un totale di _MAX_ "
  15.  
  16. },
  17. "aoColumnDefs": [
  18. { "bSearchable": false, "aTargets": [ 2,3,4,5,6 ] },
  19. { "bSortable": false, "aTargets": [ 7 ] }
  20. ]
  21. });
  22. });
  23. </script>
  24.  
  25.  
  26. <table class="display" width="850" id="example">
  27. <tr>
  28. <th align="center"><b>Cantiere</b></th>
  29. <th align="center"><b>Modello</b></th>
  30. <th align="center"><b>Motorizzazione</b></th>
  31. <th align="center"><b>Immatricolazione</b></th>
  32. <th align="center"><b>LFT (MT)</b></th>
  33. <th align="center"><b>Ormeggio</b></th>
  34. <th align="center"><b>Prezzo</b></th>
  35. <th>&nbsp;</th>
  36. </tr>
  37. <tr>
  38. <td></td>
  39. <td></td>
  40. <td></td>
  41. <td></td>
  42. <td></td>
  43. <td></td>
  44. <td></td>
  45. <td></td>
  46. </tr>

Report this snippet  

You need to login to post a comment.