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?
Page 1 / 1
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.
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.
This is really interesting, thanks!
Reply
Sign up
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.