Power App dynamic table view creation

     If the columns of your table are not constant, meaning they may change over time, it can be a bit more challenging to design a table in PowerApps. Here are a few options to consider:


  1. You can use the Gallery control to create a dynamic grid view, as mentioned before. In this case, you can set the "Items" property of the Gallery control to the data source, and then create the layout of each item in the grid using various controls such as labels, text boxes, and images. This allows you to display any data that is in the data source, regardless of the columns.

  2. You can use the Data table control, which also allows you to display data in a tabular format. By using the data table, you can create columns dynamically, by using the add Columns function, that allows you to add columns to the table in runtime.

  3. You can use a dynamic label and a dynamic text box control, which allows you to create a label and a text box, and set their properties dynamically, based on the data source fields.

  4. You can use a collection to store the data and then use the For
    All function to add rows to the table, and then add the data to the cells in the row.

All these options allow you to create a table in PowerApps where the columns are not constant and change over time. It's recommended to test and evaluate each option to determine which one is the most appropriate for your specific needs.

Comments