Symbols in datagrid / document template - Mendix Forum

Symbols in datagrid / document template

6

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
2 answers

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