Align Paging To Right

Align Paging To Right

chboccachbocca Posts: 90Questions: 14Answers: 1
edited March 4 in Free community support

With the new dt 2.0 and b 3.0, I can't figure out the dom string to align paging to right side on bottom at same level with length, which is on left.

Can anybody suggest the right string?

Currently ... dom: 'Bfrtip'

Here's link to demo.

I believe what I want on bottom is default config, when no dom is specified.

Thank you in advance.

c

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,441Questions: 1Answers: 10,459 Site admin
    Answer ✓

    I'd suggest you use the new layout option:

    layout: {
      topStart: null,
      topEnd: 'buttons'
    }
    

    That will cause the buttons to be on the right, and nothing on the left (you can put something there if you want - the default is the page length control).

    Allan

  • chboccachbocca Posts: 90Questions: 14Answers: 1
    edited March 4

    Thank you!

    Worked perfectly.

    c

Sign In or Register to comment.