Issue with Embedded Designer Behavior Enabled property
Posted: Fri Aug 05, 2022 1:25 pm
I am trying your embedded Dashboard JS designer at https://demo.stimulsoft.com/demo_js_202 ... ization=en but I am unable to use the Behavior Enabled, Expression properly. I have attached the mrt file that i saved from it, and also json data source that was used for this.
Steps to reproduce:
1. Add the simple.json data source, and run synchornize all.
2. Add the text elements to dashboard by drag and drop from expanded data source, and drop title and value properties on the dashboard canvas.
3. Now I goto properties of Text1 (Title property), and add following expression in the Behavior section Enabled property root.value=="random".
4. When I goto preview it hides the Text1 element. Although ideally it should be visible based on this expression.
Same experiment on https://designer.stimulsoft.com/ works, and It shows the Text1 Element successfully in preview mode.
I have added screenshots from your demo site, and designer site separately to show the inconsistent behavior.
I need to conditionally hide some elements based on the data that is there, and hence I was trying this simple experiment first.
Steps to reproduce:
1. Add the simple.json data source, and run synchornize all.
2. Add the text elements to dashboard by drag and drop from expanded data source, and drop title and value properties on the dashboard canvas.
3. Now I goto properties of Text1 (Title property), and add following expression in the Behavior section Enabled property root.value=="random".
4. When I goto preview it hides the Text1 element. Although ideally it should be visible based on this expression.
Same experiment on https://designer.stimulsoft.com/ works, and It shows the Text1 Element successfully in preview mode.
I have added screenshots from your demo site, and designer site separately to show the inconsistent behavior.
I need to conditionally hide some elements based on the data that is there, and hence I was trying this simple experiment first.