how to create custom grid / dynamic columns in mendix ?

Hi All ,    How do we create custom grids or dynamic columns in mendix ? User is selecting a couple of fields - and would like to generate a table with the selected fields as columns for the tables , please suggest how can we go about this ?  
1 answers



Perhaps Datagrid 2 can help you with this? You start with a display of all columns in your datagrid. By clicking on the eye icon (the "column selector"), users can then deselect the columns they wish to hide:



It's a bit the other way around - Instead of pre-selecting the columns the user wants to see, the user deselects the ones they don't want to see.

To utilize this feature, ensure that in the settings of the Datagrid2, under the "Personalization" tab, you have "Hiding" set to "yes."