How do I position the buttons in left and right side of search area?

How do I position the buttons in left and right side of search area?

aStepaStep Posts: 2Questions: 1Answers: 0

Hello,

I have an issue with button's position.

I have 5 buttons to put in the datatable. 3 of them should be located at the left-top(before search area) of the table and rest of them should be located at right-top(after search area).

Is there any solutions for that?

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598
    edited September 2019

    Hi @astep ,

    This thread should help, it's asking the same thing.

    Cheers,

    Colin

  • aStepaStep Posts: 2Questions: 1Answers: 0
    edited September 2019

    @colin I used 'buttons' option already. The issues is that how to give the buttons' alignment separately. some buttons should be located at left-top and rest of them should be located at right-top of datatable.

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    In that thread I point you at, it shows you how to attach Buttons to anywhere in the DOM : http://live.datatables.net/xoqedulo/1/edit

This discussion has been closed.