Dynamic population of data in data grid

Hi, I’m working on a use case where upon selection of attributes(column names of an object) in a page, the next page should display a data grid with the selected attributes/column names only and the respective table data. Currently we populate the data grid by attaching each column to a column name and it is static.How to populate data in data grid based on user’s selection of column names from the previous page? 
1 answers

Maybe this widget could help you get started on this requirement https://appstore.home.mendix.com/link/app/34298/

Not sure if this widget works in your version though, but it’s a starting point to maybe create your own widget