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
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,223)