Hi,I want to be able to change the fieldname of “sum” to “Zone Total” for only one table widget, say tbl_demand. I know we can change it in the fieldname.properties file, but this changes it for all the tables.
So, is there a way to do it for only one table?
Best answer by Madhu Krishnappa
Hi @gorkem,
Thanks to my team member @Koos Heerink, we just figured out that we can achieve this through custom CSS.
Before applying custom CSS:
Please identify the unique widget URI of your table. You can inspect the DOM of your WebUI page, and locate data-widget.uri attribute.
Replace “MyTables-UniqueURI” with the URI of your table widget.
.aimms-widget[data-widget\.uri="MyTables-UniqueURI"] .annotation-sum .cell-wrapper label[data-old-title="sum"] { visibility: hidden; } .aimms-widget[data-widget\.uri="MyTables-UniqueURI"] .annotation-sum .cell-wrapper label[data-old-title="sum"]:before { content:"Zone Total"; visibility: visible; }
With the above custom CSS, my table was shown as
I hope this helped.Thanks,Madhu KrishnappaAIMMS WebUI Product Owner
@Madhu Krishnappa,That works indeed. Great, thanks!
Already have an account? Login Please use your business or academic e-mail address to register
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.
Didn't find what you were looking for? Try searching on our documentation pages:
AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator