setTitle(title)

Sets the panel title text.

Parameters:

  • title (String): localized title text;


Example:

Set the form title using a localized message element and the view title using the work request id displayed by theform:

form.setTitle(getMessage('text_editWorkRequest'));
View.setTitle(form.getFieldValue('wr.wr_id'));