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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Controlling column wid...
Power Apps
Answered

Controlling column width and sort icon in a scale to fit screen

(0) ShareShare
ReportReport
Posted on by 77

Hi all, 

I have a table in my canvas app for which each column can be sorted by clicking the sort icon next to the column name. However, I manually aligned to icons. The screen is scale to fit thus when the published app is opened the icons don't align with the columns (see image 2). Is there a way to get the column width as variable so I can create a formula to align the icons? Or is there another option for aligning the icons to the columns? 

I already tried to enter the column width with a formula but different screen will still adjust these settings. Moreover, users are always able to change the width by dragging it. The "can grow" property of the table does not seem to solve this solution. 

Your help is much appreciated! 🙂 

In canvass editor:

Reinier_0-1595487359619.png


Published:

Reinier_1-1595487447105.png

 

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 Moderator on at

    @Reinier 

    You can simply change the Auto-Width property of the Data Table to this

    false

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up." 

  • Reinier Profile Picture
    77 on at

    @mdevaney 

    Thankyou, but I already tried that and it does not seem to work since I have enabled the scale to fit screen property of the canvas app. 
    Moreover, users are still able to manually adjust the columns which cannot be turned off to my knowledge. 

  • Verified answer
    Reinier Profile Picture
    77 on at

    I solved it with a gallery instead of a table which works better. Thank You nevertheless!

  • CenturionBossN Profile Picture
    3 on at

    Do you mind posting your solution..I have a similar need.  Thx

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard