Closed LuboZ closed 2 months ago
For button captions, you need a reference to a concrete implementation of CrudFormFactory
. Then you can call the appropriate method. For example:
var formFactory = new DefaultCrudFormFactory(User.class);
formFactory.setButtonCaption(CrudOperation.ADD, "Add new user");
Similarly, for form captions, you need a concrete implementation of CrudLayout
. Then you can call the appropriate method. For example:
var layout = new VerticalCrudLayout();
layout.setFormCaption(CrudOperation.UPDATE, "Update user");
Thank you very much 👍
Hi, i would like to rename buttons in dialog, but missing setButtonCaption method. Also please how can i rename header text of the dialog ?
Thank you