Forum Discussion

Nishantjain's avatar
Nishantjain
Continued Contributor
6 years ago

SelectionIDBuilder withMatrixNode - sample visual

Hi 

Is there a sample visual that has the implementation of "SelectionIDBuilder" using the "withMatrixNode". 

 

Documentation 

 

My visual is working fine except when the interactions are not working with I have drill down with "Expand all down". 

 

Thanks

Nishant

 

 

2 Replies

  • jprmsn's avatar
    jprmsn
    Frequent Visitor

    The SunburstVisual uses a matrix mode dataview and does selections.  It uses .withCategory, but .with MatrixMode works fine as well.  You just have to append calls to .withMatrixMode to specify your context (e.g. if you are including parents, call it more than once; same if you are including column), then call .createSelectionId at the end and get the combined Id.