
Method of the Renderer API that adds a title in the shell header.
setHeaderTitle(sTitle)
This method is part of the SAPUI5 sap.ushell.renderers.fiori2 namespace. For more information, see SAPUI5 Demo Kit: Controls .
The search control and the title occupy the same space in the shell header. Opening the search hides the title.
|
Parameter |
Type |
Description |
|---|---|---|
|
Title |
String |
The text of the title to display in the shell header. |
<SCRIPT language ="JavaScript">
var oRenderer = jQuery.sap.getObject("sap.ushell.renderers.fiori2.Renderer");
oRenderer.setHeaderTitle(“Some Title”);
<SCRIPT>