Forum Discussion
Nishantjain
6 years agoContinued Contributor
SelectionID: MatrixNode - Selection based on hierarchy and not the node
Hi there, I have successfully built a custom visual using the dataviewmappings "matrix" and everything is working fine except the interaction. For example, my data is structure as 2013 - Jan...
- 5 years ago
jprmsn mate, I gave up on this issue about an year ago, assuming there is some bug. I can't believe this was so simple. Thanks a lot. Made my day
jprmsn
6 years agoFrequent Visitor
I think the issue is that the samples given for .withMatrixNode only set the selection to the particular row and not the full context including parent rows.
Anyone know how to do this?
jprmsn
6 years agoFrequent Visitor
The answer is to do .withMatrixNode(...).withMatrixNode(...), etc.
A call for the row and a call for each parent, followed by createSelectionId will work.
- Nishantjain5 years agoContinued Contributor
jprmsn mate, I gave up on this issue about an year ago, assuming there is some bug. I can't believe this was so simple. Thanks a lot. Made my day
- jprmsn5 years agoFrequent Visitor
Great. Appreciate it if you could mark it as the solution.
John