web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dynamic Number of Colu...
Power Apps
Unanswered

Dynamic Number of Columns in a form depending on screen size

(0) ShareShare
ReportReport
Posted on by 504

Hey guys, how do we make  the number of columns dynamic in a form? Like if it's a desktop there's 4 columns and if its a tablet then 2 columns only.

Categories:
I have the same question (0)
  • Sanshubh Profile Picture
    512 on at

    It's possible but you have to create 2 Forms (TabletForm and DesktopForm) and Visible Forms based on screen size (Open SizeBreakpoints property of App) you can customize your Whole app based on SizeBreakpoints.

    Set variable on OnStart Property of App

     

    if(SizeBreakpoints>2000 || SizeBreakpoints < 3999,Set(tabform,true);Set(desktopform,false),SizeBreakpoints>4000,Set(tabform,false);Set(desktopform,true));

     

    OnVisible Property of TabletForm set as tabform and Onvisible property of DesktopForm set as desktopform.

     

    now Set 4 column manually in Desktop form and set 2 in Tablet form. 

    This is a solution I know. If it helps you mark this as solved.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard