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.

Help others by sharing your knowledge.
AnswerRequest clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.