Pagination Links aren't styled anymore

Pagination Links aren't styled anymore

xtremer360xtremer360 Posts: 84Questions: 2Answers: 0
edited July 2012 in General
I'm curious to know why my pagination styling isn't the way it used to be.

Link to my page:
http://www.kansasoutlawwrestling.com/kowmanager/titles/titles

My datatables code is the following:
[code]
$( '#titles-table' ).dataTable({
"sDom": '<"top"lTf<"clear">>rt<"actions"<"actions-left"i><"actions-right"p>>',
"bAutoWidth": false,
"oTableTools": {
"aButtons": [
{
"sExtends": "text",
"sButtonText": "Add"
},
{
"sExtends": "text",
"sButtonText": "Edit"
},
{
"sExtends": "text",
"sButtonText": "Delete"
},
]
},
"aoColumnDefs": [
{ "bSortable": false, "aTargets": [ 0 ] },
{ "sWidth": "20px", "aTargets": [ 0 ] },
{ "sWidth": "40px", "aTargets": [ 1 ] },
{ "sWidth": "70px", "aTargets": [ -1 ] },
{ "sClass": "alignCenter", "aTargets": [ 1, -1 ] }
]
});
[/code]

The pagination should look like this:
http://kansasoutlawwrestling.com/files/templates/admin/peachv1.2/Template/tables.html

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    The issue looks to be the fact that you have upgraded from 1.8- to 1.9 but not modified the stylesheet to take account o fate fact that DataTables now uses 'a' tags in the pagination display - see the upgrade notes for more information: http://datatables.net/upgrade/1.9

    Allan
  • xtremer360xtremer360 Posts: 84Questions: 2Answers: 0
    I corrected it but still seems to not have anything for the buttons like in the examples.
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Looks like you haven't specified the sPaginationType : "full_numbers" option on your implementation page, while the template page does.

    Allan
  • xtremer360xtremer360 Posts: 84Questions: 2Answers: 0
    Great however I'm not sure how that looks with my table. I go back and forth. Do you or anybody else have any opinions on this?
This discussion has been closed.