on 07-27-2016 3:11 PM
I was playing with the SDK and hierarchys today when I noticed that the framework passing me the data (property of type ResultSet) is missing the duplicate nodes from the hierarchy. I would either expect it to return two values with the same key on the members but with different parents or an array of parents if there shall be only one entry with the same key.
Is that behavior by design? Let me know your thoughts.
Kind regards
Martin
Hello Marin,
excellent observation.
We detected the same problem when implementing hierarchies in our Spreadsheet component - which uses part of the SDK to bring data to the browser: Each hierarchy node has an own collapse/expand state and a different parent.
To solve this without breaking existing SDK components - that expect each member to appear only once, we have a new option:
<option name="repeatHierarchyNodes" value="true"/> .
In this case you will get hierarchy nodes multiple times as part of the dimension.
The feature was introduced in 1.6 SP 2 ( if I remember correctly). It was not documented so far, as it is something really special.
Best regards,
Reiner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Curious, are these linked nodes?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.