Symbols in datagrid / document template - Mendix Forum

Symbols in datagrid / document template

8

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.

asked
3 answers

Hello,

this custom styling doenst seem to work: 

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

Could you elaborate more on how to implement the solution?

 

Thanks in advance!

Created

Thanks :)!

Created

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

 

Created