How to convert export text buttons to a dropdown list
How to convert export text buttons to a dropdown list

Hi,
Can you please advise how I can change export buttons to a dropdown down list?
This discussion has been closed.
Hi,
Can you please advise how I can change export buttons to a dropdown down list?
Answers
Try passing the dom option along with the buttons array. This will override the default tags that are used
dom: {
collection: {
tag: 'ul',
className: 'dt-button-collection f-dropdown open',
button: {
tag: 'a',
className: 'small'
}
}
}