Show text if attribute is empty in data grid

Hi all I have a data grid that shows people saved like this:   Company / Name/ Status   Company: Association to the company object saved Name: Name of the person Status: Enum (Confirmed / Open)   It is possible that a person does not have a company associated with them. In that case I want to show a text in the datagrid like e.g. “no company”. So if no connection to a company → show this text.   I have not found out how to do that or if this is even possible yet. Could someone help me with this?   Thanks.
1 answers

It will be possible if you use the Data Grid 2 widget. In data grid 2, using the dynamic content option for the columns, you can specify your text along with attribute value. There using if then statement, you can configure it to display either company name or no company.
For details