Imaging for booleans in data grid - Mendix Forum

Imaging for booleans in data grid

5

Hee!

I working with a datagrid right now, where I want to see which instances are active and which are not active. Of course this is easily possible by just creating a column that says for each of the values true of false, depending whether they are active or not. However, I was looking for a more visual option to make this happen and found out this could be done by use of enumerations. In that case you would define for each enumeration value a specific image and set the column of your data grid to ‘image’ instead of ‘text’. 

 

 

I was wondering if this functionality could be added for boolean attributes as well. (I would imagine the images for ‘true’ and ‘false’ can be either preset by mendix) In this way I would  not be forced to change my variable to an enumeration.

Kind regards,

Paul

asked
0 answers