cancel
Showing results for 
Search instead for 
Did you mean: 

To extend Template based List Report app - Responsive table

02-08-2019 7:48 AM
tejasChouhan Active Contributor
1170 views 3 comments
0 Likes
SAP Managed Tags
Subscribe

We all know there are limited options for extending List report application when we choose a template based project. In one of the requirement, I have to default the grouping to 1 field in the table setting dialog. I found out that dialog used is Personalization dialog (p13n). The fields in group window comes from the CDS. By default the grouping is set to <none>. How can i set default to one of the field ?

I know that default grouping is only possible in Grid and Analytical table. Responsive table ignores the setting. But we have to achieve this via extension of the control. Challenge is to find the code of Personalization dialog in UI5 template project. Let me know if anyone has any idea on this. Thanks in advance.

Idea is to have report set in grouped format, once the user opens the app.

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Joseph_BERTHE1
Active Contributor
0 Likes

Hello,

First did you try by using PresentaitonVariant ? : https://ui5.sap.com/#/topic/11d5a0c51e88414ca8d0a87407956f49

If it doesn't work you can extend the controller and then you will be able to rebind the smarttable with your group.

Regards,

Joseph

tejasChouhan
Active Contributor
0 Likes

Hi Joseph,

Default grouping using Presentation variant works only for Sort, and not for Group in responsive table.

As responsive table ignores it. I have done this both in Local annotation as well as CDS level, but it ignores. (Which is currently limitation by SAP). Correct me if I am wrong ! jocelyn.dart

For extending the controller, I wanted to know how I will find the ID of the Personalization dialog as this comes as template.

Regards,
tejas3

maheshpalavalli
Active Contributor
0 Likes

Hi Tejas Chouhan,

What about using a default variant for all the users(with grouping)?
BR,

Mahesh