Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table align="center" border="1" id="tatable">
- <thead>
- <tr>
- <th scope="col">Numero de la prise</th>
- <th scope="col">Description</th>
- <th scope="col">Piece</th>
- <th scope="col">Action</th>
- </tr>
- <tr>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- </tr>
- </thead>
- <tfoot>
- <tr>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- </tr>
- </tfoot>
- <tbody>
- // a lot of data
- </tbody>
- </table>
- $(document).ready(function(){
- $('#tatable').dataTable({
- "bLengthChange": false,
- "iDisplayLength":50
- }).columnFilter({
- sPlaceHolder: "thead:after",
- aoColumns :[
- {type: "text"},
- {type: "text"},
- {type: "text"},
- {type: "text"}
- ]
- }
- );
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement