cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hetvik
Helper I
Helper I

Dynamic columns in table or grid view in canvas app

Just want to check if this is possible or not .

Is there any property for auto generate columns or any way to achieve below requirement.

 

I would like to a create a dynamic table view / grid view in PowerApps.

 

1 .I have a table in data verse with 10 columns and want to view the data in table / grid view in PowerApps

2. In future additional 5 columns will be added to the table in data verse and i want to view those columns in the PowerApps without modifying the PowerApps.

The PowerApps should automatically read the additional columns and render the new columns.

 

If required can maintain other table to decide what columns can be visible or hidden. 

3 REPLIES 3
WarrenBelz
Super User
Super User

Hi @Hetvik ,'

It is not possible to either dynamically create columns or view new columns without coding Power App to do this.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

WarrenBelz
Super User
Super User

Hi @Hetvik ,'

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Hi WarrenBelz

 

I didn't get the result .

Approach 1 : tried querying the table got in collection and removing the unwanted columns ,but dropcolumns function only accepts hardcoded string names for columns ,so this approach didn't work as i would know the column names at runtime

 

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,007)