Replies: 2 comments
-
Found a private method that does this -
|
Beta Was this translation helpful? Give feedback.
-
I recommend you to use one of these 2 approaches:
If for some reason you want to dynamically create markup inside element views, don't use JSON markup. Just create a DOM element using the native API (or Vectorizer). The |
Beta Was this translation helpful? Give feedback.
-
Introduction
I have a requirement similar to the example shown in this QAD Application demo.
In that example, the
optionMarkup
is used to create multiple DOM elements and they are appended to the cell element. The attributes (attrs
) of the cell are also applied to this options DOM element.However, I couldn't find any examples using JSON markup to achieve something similar. How can this be done? Please note that all the options will share some common presentation attributes, which I would like to specify in the cell
attrs
for simplicity.JointJs Version: 4.0.4
Steps to reproduce
No response
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS
Beta Was this translation helpful? Give feedback.
All reactions