Symbols in datagrid / document template - Mendix Forum

Symbols in datagrid / document template


Whenever I am displaying a decimal attribute for example in a datagrid in a document template, I would like to have the option to display symbols like  € or $ next to the value.

3 answers


this custom styling doenst seem to work: 

.euro label::before{ content: '€ '; }

Could you elaborate more on how to implement the solution?


Thanks in advance!


Thanks :)!


Yeah I wish there was a way to have custom classes added to certain elements like buttons do with danger,warning,etc.

you can add this css to you document. then add the class "euro" to the formgroupitem to have the euro sign prepended to it.

.euro label::before{
    content: '€ ';