Solved

How to set parameter to be Read Only?

  • 10 September 2019
  • 2 replies
  • 441 views

Userlevel 5
Badge +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?
icon

Best answer by mohansx 11 September 2019, 17:11

View original

2 replies

Userlevel 5
Badge +5
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.
Userlevel 5
Badge +6
This is really interesting, thanks!

Reply


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

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