Dynamic Columns feature in Data gird

I have a requirement to add the dynamic columns in the Data grid, Does Mendix provide this option to add the columns dynamically or can we use hide or show of the exiting data grid column based on events. if so please suggest how to implement this feature 
1 answers

AFAIK it’s not possible to create a truely dynamic table in Mendix, the columns are defined at design time and can be altered/ added at runtime.

Maybe have a look at the pivot table widget from the app store, this might come close to matching your specific requirements