Define Dom elements

Define Dom elements

vargasvargas Posts: 4Questions: 2Answers: 0

Hi
I am trying to add some elements to the header, already have some buttons :

headerButtons : function(){

let buttons = {
dom: 'Blfrtip',
buttons: [
this.loadAddBtn(),
this.loadEditBtn(),
this.loadRemoveBtn(),
]
}

return buttons;
},

that are using the Dom, but now I'll need to add a dropdown next to the search input but if added following this example the buttons don't show up.
live.datatables.net/zewiqiyo/1/edit

The buttons and the dropdown are separate functions that will be turn on-off base on the table settings. There is a way to achieve this Thank You for your help.

Answers

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

    I'm not clear what you're trying to do, sorry. The fiddle doesn't run, and there's no mention of those buttons in that code.

    Colin

This discussion has been closed.