cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAC Analytic Application - Model Variable / Input Control change - update properties in text widgets

mfrieser
Participant
2,316

Hello,

I am working on a project planning analytic application.

I want to select a project and then show its information (properties in text widget, changeable properties in dropdowns, transactional data etc.)

I tried to implement an input control, but with this widget it is not possible to dynamically adjust the properties in text widget or dropdown, because der is no "OnSelect" event like in dropdowns.

I also tried to implement a model variable "Project" which I can change in the menu bar and also is asked when starting the analytic application. But when changing to a new project, only the transactional data in the table refreshes. The properties in text widget stay the same.

What is the best approach here?

I need to execute something like the "OnInitialization" Event, every time the project changes.

I am already thinking about implementing a dropdown, because with this widget I can react on the "OnSelect" Event and then change all the text widgets.

Best regards

Michael

View Entire Topic
Bob0001
Product and Topic Expert
Product and Topic Expert

You can use the onResultChange event of your table/chart widget to update other controls when the data changed. If you are only interested in specific changes you might use the various getter messages on the widget and it's data source to see whether the state you are looking for has changed.

1r053
Explorer
0 Likes

Hi Bob, that is a workaround, but its slow, as it always requires a table or chart to first refresh. And managing that tables not to refresh to get good performance in a complex application is tedious. What is missing is a onSelectionChange event in the input control itself. Then any kind of manual logic can be applied with good performance via script.