-
Notifications
You must be signed in to change notification settings - Fork 796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to change caption format of dialog #1889
Comments
You can override updateTitle in your XYZDialog.ts |
is there any example overiding update title? |
is it possible just to change only the atrribute of given format? |
namespace YourNamespace {
@Serenity.Decorators.registerClass()
export class XYZDialog extends Serenity.EntityDialog<XYZRow, any> {
protected getFormKey() { return XYZForm.formKey; }
protected getIdProperty() { return XYZRow.idProperty; }
protected getLocalTextPrefix() { return XYZRow.localTextPrefix; }
protected getNameProperty() { return XYZRow.nameProperty; }
protected getService() { return XYZService.baseUrl; }
constructor() {
super();
}
protected updateTitle() {
this.dialogTitle = "Your title ";
} |
thanks a lot. can i change only atrribute of given format from dialog? |
create your own decorator for this. |
how do i access data inside dialog.ts ? |
this.entity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i changed the instance name but i need to change the format of caption of a dialog
Edit . Where should i look to change the whole format?
The text was updated successfully, but these errors were encountered: