Q1 - I want to use a select box in data inspector. Is there an example i can refer. Also, the list items which will show up in dropdown will be retrieved from a AJAX call.
Q2 - i want to set a name for my diagram, which user will enter when he lands on the page. This NAME has to be part of the generated JSON. Can i add a custom property in GRAPHLINKSMODEL? OR does GOJS provide a solution to this?
Surprisingly this was working fine with older version of dataInspector.js. Now when i have updated my library (because i wanted Password type), this code fails tbody.appendChild(this.buildPropertyRow(k, data[k]));
Without this line , group elements weren’t even becoming a part of canvas. After adding this line in datainspector properties, i am able to drop them, but it creates a replica of parent element and the error still exists in console. Checkout the screenshot.
Hmm, I’m not sure what would cause that. I tried adding a Data Inspector to the Macros sample, which also expands a group when dropped from a palette, but I don’t have that error. What does your buildPropertyRow function look like?