- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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