i previously asked nearly similar question but i dont seem to make my data inspector work like i want it to previous post :
now i m getting json from server which append properties in the json like
“3__W__Property 3”: "value 3 ",
“1__W__Property 1”: “value 1”,
what i want is that the inspect display all the properties that it gets like with -w- in start it removes it from it to display but not change it form the main diagram json and is also editable
for reference i want
“3__W__Property 3”: "value 3 “,
to be displayed like
Property 3”: "value 3 ",
The Data Inspector lets you specify the complete list of properties that it shows. Try setting the option includesOwnProperties to false and then make sure the properties option includes all of the properties that you want shown.
Oh, you do want to show those properties, but you want to show the property name as something different than it actually is. OK, you’ll need to change the buildPropertyRow method so that it uses the string that you want when setting the first “td” element’s textContent.
but if i do that the inspector will not function properly it will create a new property in the json and not edit the property coming from server json
for example consider i showed 1__property by changing it to property 1 a new property in json will be created naming property 1 and value of that ill change with changing the values in inspector