cancel
Showing results for 
Search instead for 
Did you mean: 

Grouping/sort/summing in ui5 list report(smart template)

venu_001
Participant
0 Kudos

Hi Experts,

I have created ui5 list report(smart template) using odata service, in local annotations i set group and total but in list output it is not showing totals.

am i missing anything? please help.

Thanks,

Venu.

Accepted Solutions (0)

Answers (2)

Answers (2)

Joseph_BERTHE
Active Contributor
0 Kudos

Hi,

Please add HeaderInfor annotation.

In your OData services, did you set the variable count or inlinecount ?

Regards,

Joseph

maheshpalavalli
Active Contributor
0 Kudos

which table type you are using?

https://ui5.sap.com/#/topic/7f844f1021cd4791b8f7408eac7c1cec

It will only work for analytical table, you can check the doucmentaiton below:

https://experience.sap.com/fiori-design-web/smart-table/

BR,
Mahesh

venu_001
Participant
0 Kudos

Hi Mahesh,

Thanks for valuable information, I used list report (smart template) to create and in wizard i did not see option to select table type so i am totally unaware, is it possible to set table type without much impact on app at this stage?

Thanks,

Venu.

maheshpalavalli
Active Contributor
0 Kudos

Hi Venu,

It will not come in the wizard..

You need to go to the manifest and set it manually.. check the first link..

BR

Mahesh

venu_001
Participant
0 Kudos

Hi Mahesh,

I have gone through the link, i noticed one statement "Grid tables, analytical tables, and tree tables cannot be rendered on smart phones."

My application is supposed to run on ipods, i am not sure how it is going to work if i set table type to 'analytical table'.

Thanks

Venu

maheshpalavalli
Active Contributor
0 Kudos

It will be rendered but will not be responsive.. (I think, you can probably test in browser in developer tools)

venu_001
Participant
0 Kudos

Hi Mahesh,

I set table type to 'ananytical' but no luck, i did not see any change. in addition to that is there anything to set?

maheshpalavalli
Active Contributor
0 Kudos

Can you refer to this blog and map with your logic..

https://blogs.sap.com/2018/01/12/fiori-elements-analytical-table-with-sadl/