Adding functions
Adding functions
![AssessmentDay](https://secure.gravatar.com/avatar/4491006c1248a39a52bb5b14720dbc20/?default=https%3A%2F%2Fvanillicon.com%2F4491006c1248a39a52bb5b14720dbc20_200.png&rating=g&size=120)
Hi I am new to datatables and am trying to get five functions working that appear on the example here - http://datatables.net/
The four functions are:
- the arrows in the header that switch from top to bottom
- the show entries box in the top left corner
- the search box in the top right corner
- the 'Showing 1 to 10 of 58 entries' display in the bottom left corner
- and the pagination in the bottom right corner - I want to have just the two buttons - forward and back
How can I get these to work. Here is the link to my page - http://dev.assessmentday.co.uk/feedback.htm
If anyone could help me out that would be great.
Thanks.
The four functions are:
- the arrows in the header that switch from top to bottom
- the show entries box in the top left corner
- the search box in the top right corner
- the 'Showing 1 to 10 of 58 entries' display in the bottom left corner
- and the pagination in the bottom right corner - I want to have just the two buttons - forward and back
How can I get these to work. Here is the link to my page - http://dev.assessmentday.co.uk/feedback.htm
If anyone could help me out that would be great.
Thanks.
This discussion has been closed.
Replies
Allan
http://dev.assessmentday.co.uk/feedback.htm
Are there any instructions anywhere for beginners?
[code]
$(document).ready(function() {
$('#example').dataTable({
"sPaginationType": "two_button", /* Shows two buttons for pagination */
"bFilter": true, /* Shows the search box at the top right corner */
"aoColumns": [ /*Shows the sorting arrows on each column */
null,
null,
null,
null,
null
]
});
} );
[/code]
I hope this answers your query.