Change no data text for Search in SAPUI5

SAP HANASAPSAP Basis

You just need to use the noDataText property to sort out your requirement.

You have two options, either you can change in controller or you can change in the XML.

Option 1:

Call the setNoDataText method in the init method

this.byId(“<Your Id>”).setNoDataText(“<Your custom text>”)

Option 2:

Add the noDataText property in the XML

<List noDataText="<Custom text>" />
raja
Published on 07-Dec-2017 20:00:13
Advertisements