Solved

Display set values on UI

  • 14 December 2023
  • 1 reply
  • 20 views

Badge +3

I have set and values are assigned to set after clicking button on UI. I also want to show what are the values are addi=ed to set on UI. can you please guide what is widget suitable for this purpose.

 

I tried with table. below is screenshot for same. But it is displaying 1 addition to set values.

 

 

icon

Best answer by gdiepen 14 December 2023, 16:33

View original

1 reply

Userlevel 5
Badge +7

You could create a new parameter    pElementAddedViaUI that is having the set as an index. Whenever you are creating new elements via the UI, you could then set the value for this new element in this parameter to 1 (indicating this element is created via the UI). Elements that are created in another way would not have a value 1 for the pElementAddedViaUI.

 

You can then use this new parameter in combination with annotations or anything else to color them differently in the UI (or just show the pElementAddedViaUI parameter in the table next to the elements. 

Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator