⚠ In case you've missed it, we have migrated 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 is an archived forum. ⚠

  •     

profile picture

Messed up pagination



elfuego1

elfuego1
  • profile picture
  • Member

Posted 01 September 2013 - 22: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).

 

[attachment=668:messed_up_pagination_german.jpg]

 

Does anyone found a solution to this issue?

 

Best regards,

Tom.


davidoster

davidoster
  • profile picture
  • Member

Posted 03 September 2013 - 14:23 PM

Hello [member=elfuego1].

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

Debug it using the instructions here.


elfuego1

elfuego1
  • profile picture
  • Member

Posted 03 September 2013 - 20: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: .


davidoster

davidoster
  • profile picture
  • Member

Posted 04 September 2013 - 03:36 AM

Well on this example http://www.grocerycrud.com/examples/set_a_relation

the responsible css entry that controls the position is this

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

http://www.grocerycrud.com/assets/grocery_crud/themes/datatables/css/jquery.dataTables.css on line 84