How to set Entries to left of datatables. and put Print button on right next to entries

How to set Entries to left of datatables. and put Print button on right next to entries

spiderkznspiderkzn Posts: 44Questions: 12Answers: 0

Hi,

i'm struggle to make it right. See screenshot

I'm trying tp put Entries then Print button on top left of datatables. the search is fine.

My script is

Will appriecate your help. Thanks

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,074Questions: 26Answers: 4,905
    Answer ✓

    See if this example helps:
    https://live.datatables.net/vawuvoje/1

    I just too the default BS 5 dom option and added the B in the middle. Plus I changed the col-md-6 to col-md-4 to fit three BS columns across the row.

    Kevin

  • spiderkznspiderkzn Posts: 44Questions: 12Answers: 0

    Thank you kthorngren as it helpful! See Screenshot

    But, if it possible how do I make entries and print button to left intead of center? See the photoshopping

  • spiderkznspiderkzn Posts: 44Questions: 12Answers: 0

    I have found a solution.

    Unfortunate the Print button went to new line. how do I make it stay on same line?

  • allanallan Posts: 62,982Questions: 1Answers: 10,363 Site admin

    Probably:

    div.dt-buttons {
      display: inline-block;
    }
    

    Allan

Sign In or Register to comment.