the steps to achieve this in Mendix:
Columnsproperty in the
Add Columnbutton to create a new column.
Attributeproperty of the column to a placeholder attribute, such as
Captionproperty to the desired column header text.
Data Sourceproperty of the column, use a conditional expression to determine which attribute to display based on a condition. For example, if you want to display the value of
Conditionattribute is true, and the value of
Conditionattribute is false, you can use the following conditional expression:
if [MyEntity/Condition] then [MyEntity/Attribute1] else [MyEntity/Attribute2]
By using a conditional expression in the data source of the column, you can conditionally display the value from either
Attribute2 based on the value of the
Hope it helps!!
Select Custom content for your column and then you can specify any dynamic information you want.
Here are the steps
1. Create column and choose custom content and don’t specify Attribute
2. Go to Column Capabilities and set all to false
3. In column put 2 Text Widget
4. give conditional visibility for text, in one show first attribute value, in second one show second attribute’s value
If you need to show association attribute, then simply put Data View widget and then choose the attribute from there. Again you may specify conditional visibility.