Pagination works strange..
Pagination works strange..
Hello,
Version 1.5.0.
I use server side processing:
$("#table").dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "ajax_server.php?act=get_public_collections",
"sPaginationType": "full_numbers"
});
Server returns valid json, I have checked it on jsonlint.com. It sounds strange but to change page I have to click 2-3 times on paginator.. Everytime when I click it, I can see (in firebug) normal get request to ajax_server.php, but only after 2-3 clicks table's changes content.. Anybody had same problem?
Version 1.5.0.
I use server side processing:
$("#table").dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "ajax_server.php?act=get_public_collections",
"sPaginationType": "full_numbers"
});
Server returns valid json, I have checked it on jsonlint.com. It sounds strange but to change page I have to click 2-3 times on paginator.. Everytime when I click it, I can see (in firebug) normal get request to ajax_server.php, but only after 2-3 clicks table's changes content.. Anybody had same problem?
This discussion has been closed.
Replies
and problem solved, now it's works fine.
Sounds like you are running into the full_numbers pagination bug in 1.5.0 - http://datatables.net/forums/comments.php?DiscussionID=487&page=1#Item_2 . Will be fixed in the next release :-)
Regards,
Allan
[code]$("#myDataTable").dataTables({
"bJQueryUI":true,
"bSort":false,
"bPaginate":true,
"sPaginationType":"full_numbers"
});[/code]
What i get on my pagination is [First][Previous][1][2][3][Next][Last] but all of my paging menu options seem to be run together so i get a jumbled mess at the bottom. I am testing in IE 9 and Firefox 4.0.1
Any help would be greatly appreciated.
.paging_full_numbers .ui-button {
padding: 2px 6px;
margin: 0;
cursor: pointer;
* cursor: hand;
}