02-19-2024 6:17 PM - edited 02-19-2024 7:55 PM
Hello Folkes!
I am new to sap ui5, I would like to know, In a List Report App, how I can get all nodes expanded without having to do it manually on click of Go button, and once all nodes are expanded user can collapse the nodes or keep them as it is.
I have used property :-
Hey, I was not really satisfied with the other answer. Why would you manually call bindRows in a Fiori Elements application?
I did some digging, there is the property initialExpansionLevel which you mentioned. The sample from SAP was a little too complicated (probably) and I had to remove some lines to get it to work. Basically you just have to add the following presentation variant in your metadata extension (or wherever).
@ui.presentationVariant: [{
visualizations: [
{
type: #AS_LINEITEM
}
],
initialExpansionLevel: 3
}]
In the most simple case you don't have to add qualifiers etc. Just these few lines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.