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 / Stop Sort Icon From Mo...
Power Apps
Unanswered

Stop Sort Icon From Moving

(0) ShareShare
ReportReport
Posted on by 237

So I have this data table and it has enough columns so that you have to scroll left or right to see all of them. I created a sorting icon that I want to put next to some of the columns I want to be able to sort on. The problem is that when I move left to right on the data table the icon moves too. Is there any way I can keep the icon placement constant so that it stays put where its at and doesn't move with the data table? Powerapps icon question.PNG

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    Hi @bhanney2323 ,

    No, you cannot add icons inside a data table as you can in a gallery.

     

    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.

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Completely agree with @WarrenBelz 

     

    @bhanney2323 are you saying you have icons added outside the data table next to the headers? Or are they inside the data table? If inside, I would really like to know how you did it. And if outside, then I would have expected your question to be about how to move the icons when the table is scrolled left to right, and not, how not to move the icons. Am I missing something? 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    @bhanney2323 ,

    @PowerAddict is completely correct in his elaboration of my brief post. A Data Table has no properties that I can see that would allow the detecting of how much you were scrolling, which would be necessary to set the X property of the icons (which I assume are outside the table) accordingly.

  • bhanney2323 Profile Picture
    237 on at

    Thank you for the answer to my question, unfortunately this does not help me, but it does give me some alternative ideas for filtering my numeric columns (outer_diameter, inner_diameter, etc.) 

     

    So as a sort of a follow up question, is there any way you think I could just add a slider control to add an additional filter on numeric columns like outer diameter, inner diameter, height, etc.? It doesn't seem like there are a lot of resources on the slider control in general, not sure if this is the best option for what I am thinking, so if you have better suggestions let me know too. Thanks. 

  • Verified answer
    PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    You sure can. I will give you a generic example of using a slider control in a Filter function for numeric columns. 

     

    Filter(DataSource, NumericValue = Slider.Value)

     

    Set the Min and Max if the slider to the values that are possible for that column. 

     

    Let us know if that helps. 

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

     

    Thanks!
    Hardit Bhatia
    Microsoft Business Applications MVP
    https://thepoweraddict.com

  • bhanney2323 Profile Picture
    237 on at

    Thank you so much for the response! Unfortunately because my columns values are mostly decimal numbers, it doesn't seem like the slider can do incremental values 😞

     

    I can still use a dropdown tho 

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Glad I could help! Good luck with the rest of your app! Feel free to reach out in case of any questions!

     

    You can use 2 sliders or 2 dropdowns. First one for the digits before decimal. Second one for the digits after the decimal. This might be a good approach. Let me know if you end up using this. 

     

    Thanks,
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com

  • bhanney2323 Profile Picture
    237 on at

    I just ended up using one single drop down for this because it can show decimals. This works, honestly I just liked the design of the slider but whatever

  • muthuselviM Profile Picture
    4 on at

    hii,

    I created a table for sorting the problem is sort icon is moving while scrolling the data table.can pls help how to fix the icon constant in one place.

    can u briefly explain how to fix the x position for data table scrolling in power apps 

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 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard