Change Buttons Collection text?
Change Buttons Collection text?
![PatricioFink](https://secure.gravatar.com/avatar/d9c7560ef52d0faf236e09d752ccd6fc/?default=https%3A%2F%2Fvanillicon.com%2Fd9c7560ef52d0faf236e09d752ccd6fc_200.png&rating=g&size=120)
in Buttons
buttons: [
{ extend: "remove", editor: editor, text: "Borrar Stock" },
{
extend: 'collection',
text: 'Exportar Lista De Stock (Imprimir, Excel, Pdf...)',
buttons: [
'copy',
'excel',
'csv',
'pdf',
'print'
]
}
]
In a button colletion like that, how to do change the of the buttons?
Like 'Copy' to 'Copiar'
'Print' to 'Imprimir'
Thnaks!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You can use the
buttons.copy
option in thelanguage
object as documented in thecopy
reference (likewise for the other button types).Or extend the button like you have with the others:
{ extend: 'copy', text: 'Copiar' }
etc.Allan