Change Buttons Collection text?

Change Buttons Collection text?

PatricioFinkPatricioFink Posts: 27Questions: 12Answers: 0
buttons: [
                { extend: "remove", editor: editor, text: "Borrar Stock" },
                    extend: 'collection',
                    text: 'Exportar Lista De Stock (Imprimir, Excel, Pdf...)',
                    buttons: [

In a button colletion like that, how to do change the of the buttons?

Like 'Copy' to 'Copiar'
'Print' to 'Imprimir'


This question has an accepted answers - jump to answer


  • allanallan Posts: 62,056Questions: 1Answers: 10,173 Site admin
    Answer ✓

    You can use the buttons.copy option in the language object as documented in the copy reference (likewise for the other button types).

    Or extend the button like you have with the others: { extend: 'copy', text: 'Copiar' } etc.


This discussion has been closed.