Trouble with pagination plugins

Trouble with pagination plugins

jabo2099jabo2099 Posts: 3Questions: 0Answers: 0
edited September 2011 in Plug-ins
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

Replies

  • jabo2099jabo2099 Posts: 3Questions: 0Answers: 0
    edited September 2011
    Just adding what little bit of code I've got to help give context. I've basically just been trying to get a sample going from what I've found on the site so far. Using this link:
    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!
This discussion has been closed.