cambiar a español el boton de exportar como excel
Some checks failed
PR Builder / Build-PR (pull_request) Failing after 25s
Some checks failed
PR Builder / Build-PR (pull_request) Failing after 25s
This commit is contained in:
parent
69ac876d58
commit
fe517735ad
@ -48,7 +48,7 @@ public class EmployeesListView extends BaseView {
|
||||
StreamResource excelResource = new StreamResource("employees.xlsx", this::generateExcel);
|
||||
Anchor downloadLink = new Anchor(excelResource, "Export Employees");
|
||||
downloadLink.getElement().setAttribute("download", true); // Forzar descarga
|
||||
return new Button("Export to Excel", e -> getCurrentPageLayout().add(downloadLink));
|
||||
return new Button("Exportar como Excel", e -> getCurrentPageLayout().add(downloadLink));
|
||||
}
|
||||
|
||||
private ByteArrayInputStream generateExcel() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user