Forum Discussion
SelectionIdBuilder withmatrixnode hiearchy
- 6 years ago
The key here is to stack calls to the builder and not call createSelectionId until done. So, for example, you can call .withMatrixNode for a row node, another row node, then a column node, then call create and you will end up with a Selection ID for the "intersection" of the two rows and the column.
I see from debugging a stock matrix that their should be a single selection ID that looks like this:
"{"comp":{"k":0,"l":{"col":{"s":{"e":"Table1"},"r":"Field"}},"r":{"const":{"t":1,"v":"Table2"}}}}"
That look familiar to anyone? Trying to figure out how to construct it.
Thanks.
John
- jprmsn6 years agoFrequent Visitor
The key here is to stack calls to the builder and not call createSelectionId until done. So, for example, you can call .withMatrixNode for a row node, another row node, then a column node, then call create and you will end up with a Selection ID for the "intersection" of the two rows and the column.