Column level sum/aggregation in SAPUI5 GridTable
问题 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? 回答1: You can use method: attachRequestCompleted of the model and then find the sum by looping over the data. 来源: https://stackoverflow.com