DataGrid column configuration dynamically

Hello All, i want to achieve requirement, where we can dynamically select columns from datagrid. Example- i have 15 columns in data grid and i want to show only 5 columns at one time. next time i want to show other 5 or 8 columns according to my preference. Is there any way to customize this columns according to my preference? Thanks..
1 answers

You can refer to this, which is available in Mendix 9