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.

2 answers

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: '€ ';