Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Change no data text for Search in SAPUI5
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>" />
Advertisements
