How to let buttons float at right top
How to let buttons float at right top
I need to make the buttons always float at top right corner below the menu bar,
should i write a class and how to apply it at below script ?
"buttons": [
{ extend: "create", editor: editor_1 },
{ extend: "edit", editor: editor_1 },
'colvis',{
extend: 'excelHtml5' ,
exportOptions: {
columns: ':visible'}
}
]
This discussion has been closed.
Answers
You need to use a combination of the
dom
parameter and CSS. Bu default Buttons has:In your CSS you would add an override:
Depending on your
dom
option you may also need to move where theB
option is included to have the elements appear in the correct order in the DOM.Allan