Hello, I want to change the values inside the combobox using code in a dashboard GUI.
Currently I was able to change the values in the table, from the active view; however, when the Edit Mode is off and I change the values, they won't update. Here is an example of my code:
treenode combo = gui.subnodes["GraphPanel"].subnodes["Combobox_StaPath"].first; treenode items_ = combo.find(">items"); items_.subnodes.clear(); items_.subnodes.assert("value_01",1); items_.subnodes.assert("value_02",2); items_.subnodes.assert("value_05",5);
the gui treenode was already defined and matches to the dashboard that is already the GUI.
So the table for the combobox is this one:
However it doesn't update and appears like this:
It will update until I turn on the Edit Mode and click in the table to this:
However I want it to update automatically due to that this will change every time I update some values.
I already updated the table in the background, the only missing step is to update the view of the table in the GUI dashboard.
I would appreciate your help.
Thank you,
Manuel.