⚠ In case you've missed it we are migrating to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠


Messed up pagination

pagination

  • Please log in to reply
3 replies to this topic

#1 elfuego1

elfuego1

    Member

  • Members
  • PipPip
  • 24 posts

Posted 01 September 2013 - 10:30 PM

Hi,

 

I have a problem with pagination set up.

In datatables theme if I change language to other than english the pagination set up is getting messed up (see attached screenshot).

 

messed_up_pagination_german.jpg

 

Does anyone found a solution to this issue?

 

Best regards,

Tom.



#2 davidoster

davidoster

    Grocery CRUD Ninja

  • Advanced Member
  • PipPipPip
  • 1,068 posts

Posted 03 September 2013 - 02:23 PM

Hello elfuego1.

Well for this you need some small change on the CSS of the datatables theme.

Debug it using the instructions here.



#3 elfuego1

elfuego1

    Member

  • Members
  • PipPip
  • 24 posts

Posted 03 September 2013 - 08:37 PM

Hi,

 

I already searched the forum for a solution.

If I had found the css tag responsible for the pagination setting I wouldn't be writing here.

Pagination part is generated with jquery and I didn't find the css responsible for styling it :wacko: .



#4 davidoster

davidoster

    Grocery CRUD Ninja

  • Advanced Member
  • PipPipPip
  • 1,068 posts

Posted 04 September 2013 - 03:36 AM

Well on this example http://www.grocerycr.../set_a_relation

the responsible css entry that controls the position is this

.dataTables_paginate {
float: right;
text-align: right;
}
 

http://www.grocerycr....dataTables.css on line 84







Also tagged with one or more of these keywords: pagination

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users