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
Sorting List in SAP UI5 project
Yes, you can. You can use the available sorter property available on the List. It lets you specify all the required details. For e.g. −
<List
Items="{
path: '/EmployeeCollection',
sorter: {
path: 'EmployeeName',
descending: true,
group: true
}
}"
headerText="Employees" />
I have specified the employee collection to be sorted on the basis of the name of the employee and specified that the sorting should be in descending manner. It should also consider grouping while sorting the data.
Advertisements
