This topic contains 3 replies, has 2 voices, and was last updated by Sean Sean 2 years, 2 months ago.

Change position of buttons in DataTable


  • XanaduDev
    Participant

    Posts: 19
    Member Reply #7064

    Hello,

    We are using metronic_v4.5.6 admin1_layout and we are using the button datatables. Can we change the position of the set of buttons? Move it to the left, botton part, make it vertical or something?

    Thank you.
    Red

    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #7076

    Hi :),

    Yes, sure. Please refer to “TRIGGER TOOLS FROM DROPDOWN MENU” demo in http://keenthemes.com/preview/metronic/theme/admin_1/table_datatables_buttons.html

    If you need any further clarifications please let us know.

    Thanks.


    XanaduDev
    Participant

    Posts: 19
    Member Reply #7086

    Hi Sean,

    I don’t think I got what you mean and the example you provided.. I wanted to move the set of buttons on the other side. see attached screenshot for clarification.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #7102

    Hi,

    In this case you will need to directly customize the portlet head part to move those buttons to the left. You can modify the HTML code and also override the default portlet head in custom.min.css by putting below css code:

    .my-portlet.portlet>.portlet-title>.actions {

    float: none !important;
    }

    Then you just need to add “my-portlet” class to your portlet. If you need any further clarifications please let us know.

    Thanks.

You must be logged in to reply to this topic.