Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Allignment issues with container and data table

(0) ShareShare
ReportReport
Posted on by 31

Hello All, I am trying to implement  sorting functionality on a data table, The table is in a horizantal container and the sort icons are out side of the container, positioned on top of the table header(unable to place the icons in desired place if we keep it in inside of the container), The sort function works fine but the icons are misalligned if i zoom in/out my browser, i think the root cause of the issue is the icons are placed out side of the container, I wonder if anyone faced this issue and have a resolution or work around

 

 

Categories:
  • madlad Profile Picture
    2,637 Super User 2025 Season 1 on at
    Re: Allignment issues with container and data table

    @anipeddi 

    Unfortunately I don't think you can reference horizontal scroll like this.

    You can reference the table column's X values, but those don't change when it's scrolled unfortunately.

     

    Maybe someone else knows a way to achieve this result, but I'm fairly sure it's not possible with the existing tools unfortunately

  • anipeddi Profile Picture
    31 on at
    Re: Allignment issues with container and data table

    Here are the X values i am using: Some reasons the icons are moving along with horizantal scroll bar, Am i missing anything? 

    MainContainer.X+TicketsContainer_2.X+DataTable3.X
    MainContainer.X+TicketsContainer_2.X+DataTable3.X+400


    MainContainer.X+TicketsContainer_2.X+DataTable3.X+1134

  • anipeddi Profile Picture
    31 on at
    Re: Allignment issues with container and data table

    Just noticed that the solution worked and the icons alligned properly when zoom in/out the browser but if we do the horizantal scroll, the allignment breaks, Do you think i have to mantain the relative potion of X as well to fix this?

  • anipeddi Profile Picture
    31 on at
    Re: Allignment issues with container and data table

    Awesome! this perfectly worked for me, I really appreciate your help.

  • Verified answer
    madlad Profile Picture
    2,637 Super User 2025 Season 1 on at
    Re: Allignment issues with container and data table

    Hi!

     

    Trying to navigate placing these on the same height as items within multiple containers can be tricky. The best way to do it is to reference the item you want it to be in front of, and it's parents.

     

    You should be able to get it on the right height with something like:

     

    MainContainer.Y + TicketsContainer_2.Y + DataTable3.Y

     

    ^Not 100% sure this is the most efficient way to get this, but it should work.

     

    If it's off on the X-axis, follow a similar rule there, just referencing the item you want it to be in front of, and it's parents.

     

    Hope this helps!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1