Reputation: 169
I need to sum/aggregate of finance data at the bottom of Column in SAPUI5 GridTable
. I am populating finance data from SAP HANA
based odata services
but the service can not provide Total at the bottom of data set. Hence my GridTable
not showing Total. Can you please provide sample code or idea how I can calculate and show Total in UI5
application?
Upvotes: 0
Views: 1674
Reputation: 2343
You can use method: attachRequestCompleted of the model and then find the sum by looping over the data.
Upvotes: 1