Styling buttons collection with html option + daisy ui
Styling buttons collection with html option + daisy ui

I have the following buttons showing has dropdown menu.
buttons: [
{
extend: 'collection',
text: 'Export',
buttons: [
'csv', 'excel', 'pdf'
],
},
{
extend: 'collection',
text: 'Columns',
buttons: [
'columnsToggle'
]
}
],
How can I use the html option to build a custom dropdown menu? I am using daisy ui and I would like the dropdown to be displayed in the same format as daisy ui. Is that possible without having to use plain css?
This discussion has been closed.
Answers
Your best bet is to have a look at how the existing integrations work - i.e. this is the one for Bootstrap 5 and see how they apply classes.
Also this is the defaults which again will be a useful reference if you are doing an integration.
I'm sure others would be interested in your result if you do pursue this.
Allan