Skip to main content

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?
 

 

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-widgetidata-widget\.uri="MyTables-UniqueURI"] .annotation-sum .cell-wrapper labeladata-old-title="sum"] {
visibility: hidden;
}

.aimms-widgetidata-widget\.uri="MyTables-UniqueURI"] .annotation-sum .cell-wrapper labeladata-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 Krishnappa
AIMMS WebUI Product Owner


@Madhu Krishnappa,
That works indeed. Great, 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