Initialization delay
Initialization delay
I'm guessing that what I'm seeing here is from the delay of the browser waiting for the DOM to be ready... When I have a big table on a big page that I'd like to add pagination to, the entire table is displayed for a second, and then it's modified to what I want.
Are my thoughts correct? Is there an easy way to make this look more fluid for my users?
Here's my code, just in case... Thanks!
[code]
$(document).ready(function() {
sortable_pagination_tables = $(".sortable_pagination").dataTable( {
"bLengthChange" : false,
"bFilter" : false,
"bStateSave" : true,
"sPaginationType" : "full_numbers",
"iDisplayLength" : 5,
"oLanguage" : {
"sInfo" : "Displaying _START_ - _END_ of _TOTAL_ items.",
"sInfoEmpty" : "No items found.",
"oPaginate" : {
"sFirst" : " ",
"sPrevious" : " ",
"sNext" : " ",
"sLast" : " "
}
},
"sDom" : '<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>'
});
});
[/code]
Are my thoughts correct? Is there an easy way to make this look more fluid for my users?
Here's my code, just in case... Thanks!
[code]
$(document).ready(function() {
sortable_pagination_tables = $(".sortable_pagination").dataTable( {
"bLengthChange" : false,
"bFilter" : false,
"bStateSave" : true,
"sPaginationType" : "full_numbers",
"iDisplayLength" : 5,
"oLanguage" : {
"sInfo" : "Displaying _START_ - _END_ of _TOTAL_ items.",
"sInfoEmpty" : "No items found.",
"oPaginate" : {
"sFirst" : " ",
"sPrevious" : " ",
"sNext" : " ",
"sLast" : " "
}
},
"sDom" : '<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>'
});
});
[/code]
This discussion has been closed.