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 III
Super User III

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 III
Super User III

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 User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (37,490)