Facing problem with pagination...
Facing problem with pagination...
jharohan
Posts: 1Questions: 0Answers: 0
Hi All,
I am a newbie to datatables and jquery.
I am facing a problem while using pagination of datatables.
If I select one checkbox in first page and then click "next" and then try to submit the form the selected value is not reflected.
But if I go back to the first page and then try to submit the form it works fine.
Please help!!!
$('#searchTable').dataTable( {
"bJQueryUI": true,
"iDisplayLength": 5,
"aLengthMenu": [[-1, 5, 10, 15], ["All", 5, 10, ,15]],
"sPaginationType": "full_numbers",
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0 ] }, { "bSearchable": false, "aTargets": [ 2 ] }],
"aaSorting": [[1, 'asc']],
"oLanguage": {
"sSearch": "Group Search:"
}
});
And my actual code is:
Select
Connection Name
Regards,
Rohan
I am a newbie to datatables and jquery.
I am facing a problem while using pagination of datatables.
If I select one checkbox in first page and then click "next" and then try to submit the form the selected value is not reflected.
But if I go back to the first page and then try to submit the form it works fine.
Please help!!!
$('#searchTable').dataTable( {
"bJQueryUI": true,
"iDisplayLength": 5,
"aLengthMenu": [[-1, 5, 10, 15], ["All", 5, 10, ,15]],
"sPaginationType": "full_numbers",
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0 ] }, { "bSearchable": false, "aTargets": [ 2 ] }],
"aaSorting": [[1, 'asc']],
"oLanguage": {
"sSearch": "Group Search:"
}
});
And my actual code is:
Select
Connection Name
Regards,
Rohan
This discussion has been closed.
Replies
This example will help with this: http://datatables.net/release-datatables/examples/api/form.html
Allan