I’m running into an issue wrapping my head around a problem that I have. I’m wanting to create a context menu with a different amount of buttons based on the nodeDataArray of the selected node. I have a availableTemplates array in my nodeDataArray, and I wish to loop through that array and bind a button for each one, but I’m not sure how.
Any sort of direction would be most helpful! Thanks!
This example ought to work, but it turns out that there is a bug in updating the contextMenu Adornment when the number of items in the menu decreases. We’ll fix that for the next baselevel.