Trouble with pagination plugins
Trouble with pagination plugins
Hi All,
I am trying to incorporate either the "Links" or "Navigation with Text Input" Pagination plugin into my data table to make a more 508 compliant app. The problem is that the First/Previous/Next/Last buttons only show up as close together text on the screen as opposed to how they look when using the full_numbers option.
Ex: FirstPrevious12345NextLast
Do we need to alter the default css files (demo_table or demo_table_jui) to make it look more like the full_numbers option? Or maybe I am doing something wrong? (I ask because I'm not the best with css.)
Thanks,
Jason
I am trying to incorporate either the "Links" or "Navigation with Text Input" Pagination plugin into my data table to make a more 508 compliant app. The problem is that the First/Previous/Next/Last buttons only show up as close together text on the screen as opposed to how they look when using the full_numbers option.
Ex: FirstPrevious12345NextLast
Do we need to alter the default css files (demo_table or demo_table_jui) to make it look more like the full_numbers option? Or maybe I am doing something wrong? (I ask because I'm not the best with css.)
Thanks,
Jason
This discussion has been closed.
Replies
http://www.datatables.net/examples/plug-ins/paging_plugin.html
I basically took that page and replaced the "scrolling" script plug-in code with the "links" code. I then changed the example code to the following:
[code]
$(document).ready(function() {
$('#example').dataTable( {
"sPaginationType": "links"
} );
} );
[/code]
Thanks!