Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. <table align="center" border="1" id="tatable">
  2. <thead>
  3. <tr>
  4. <th scope="col">Numero de la prise</th>
  5. <th scope="col">Description</th>
  6. <th scope="col">Piece</th>
  7. <th scope="col">Action</th>
  8. </tr>
  9. <tr>
  10. <th></th>
  11. <th></th>
  12. <th></th>
  13. <th></th>
  14. </tr>
  15. </thead>
  16. <tfoot>
  17. <tr>
  18. <th></th>
  19. <th></th>
  20. <th></th>
  21. <th></th>
  22. </tr>
  23. </tfoot>
  24. <tbody>
  25. // a lot of data
  26. </tbody>
  27. </table>
  28.  
  29. $(document).ready(function(){
  30. $('#tatable').dataTable({
  31. "bLengthChange": false,
  32. "iDisplayLength":50
  33. }).columnFilter({
  34. sPlaceHolder: "thead:after",
  35. aoColumns :[
  36. {type: "text"},
  37. {type: "text"},
  38. {type: "text"},
  39. {type: "text"}
  40. ]
  41. }
  42. );
  43. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement