Showing All Rows

Showing All Rows

xtremer360xtremer360 Posts: 84Questions: 2Answers: 0
edited July 2011 in General
I guess I'm a little confused here because what I want to do is when my buddy that has a class of bt_blue is clicked then it takes the table and displays all the records. However the code I have no is not.

[code]
$('#contentPagesPageList').dataTable( {
"sDom": 'rti<"pagination"p>',
"iDisplayLength": 10,
"sPaginationType": "full_numbers",
} );

$('.bt_blue').click(function() {

$('#contentPagesPageList').dataTable( {
"sDom": 'rti<"pagination"p>',
"bRetrieve":true,
"oLanguage": {
"sLengthMenu": "Display _MENU_ records"
} );

});
[/code]
This discussion has been closed.