Skip to main content
Solved

How to set parameter to be Read Only?

  • September 10, 2019
  • 2 replies
  • 547 views

gabiservidone
Administrator
Forum|alt.badge.img+6
I am having trouble to find where to set my parameter as Read Only.

The most similar from the WinUI Pivot Table functionality was to make my parameter defined then, the user can't change its data inside WebUI.

Is there any other way?

Best answer by mohansx

Hi @gabiservidone , you can set an identifier (or a slice) to be read only using flags.

See https://documentation.aimms.com/webui/table-widget.html#creating-read-only-cells

Note that a restart of WebUI is required after you create the necessary flags. This will work for other widgets as well, not only table widget. Data of these identifiers cannot be changed from the WebUI but can be updated via a procedure which is not the case if a definition is used, as you already know.

2 replies

mohansx
Forum|alt.badge.img+5
  • Former AIMMSian
  • 223 replies
  • Answer
  • September 11, 2019
Hi @gabiservidone , you can set an identifier (or a slice) to be read only using flags.

See https://documentation.aimms.com/webui/table-widget.html#creating-read-only-cells

Note that a restart of WebUI is required after you create the necessary flags. This will work for other widgets as well, not only table widget. Data of these identifiers cannot be changed from the WebUI but can be updated via a procedure which is not the case if a definition is used, as you already know.

gabiservidone
Administrator
Forum|alt.badge.img+6
  • Author
  • AIMMSian
  • 256 replies
  • September 11, 2019
This is really interesting, thanks!


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

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