Jquery Datatables any help for a new starter??
Hi I am quite new to Jquery and having had a good look around at what is available I am very excited by Datatables. My initial excitement has been replaced by a growing sense of frustration. I can not find any documentation that explains how to link to the downloaded files.
My main Jquery is working fine as I have am able to manipulate the DOM
I have linked to my header file to
- <table id="table_id">
- <thead>
- <tr>
- <th>Column 1</th>
- <th>Column 2</th>
- <th>etc</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Row 1 Data 1</td>
- <td>Row 1 Data 2</td>
- <td>etc</td>
- </tr>
- <tr>
- <td>Row 2 Data 1</td>
- <td>Row 2 Data 2</td>
- <td>etc</td>
- </tr>
- </tbody>
- </table>
At the start of my script I have put the following commands
- $(document).ready(function(){
-
-
- $('#table_id').dataTable();
Everything else in this script file is working fine.
Have I linked to everything in the datatables folder that I need to. Do I need to link to the CSS files or are they referenced from the datatables source?
Is there a good tutorial that shows the beginner from start to finish what needs to be done.
Thanks for any help
Simon