Visibility on datagrid column - Mendix Forum

Visibility on datagrid column


Currently the datagrid widget doesn’t have visibility tab for columns, it would be best if we can render the columns on conditions, just like any other widget, as sometimes we need to display some column based on a condition.

3 answers

Duplicate of ( 7 year ago) 

As i can no longer wait, I opened a PR

Ideally we could use the “Visible” dialog on the column. Therefore we can use roles to show and hide columns. However the visible property can not (jet) be used for extra properties.



The condition of the visibility is based on an attribute, and using hidden class is just the same as removing the column from the gridview, and you also cannot use dynamic classes on the gridview


class “hidden” works fine on a datagrid. Some logic with the Dynamic classes → visible/hidden could be your solution