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 / Change gallery row col...
Power Apps
Unanswered

Change gallery row color when hover over it

(1) ShareShare
ReportReport
Posted on by

Hi All,

 

I know that there is a possibility to change row color when is selected with property of TemplateFill

If(ThisItem.IsSelected, red, white), but how to change it when user hover over row?

I mean change whole row color, not only one element.

 

Regards,
Patryk

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    There is no direct way to set-up a Hover color for the gallery control.

    As a workaround to this, If you have a gallery control that is just to view the data, you can create a label, do not pass any value in the text property, set its alignment to Top and set a hover color for that. This way it will create a hover effect. Make sure that you have Select(Parent) on the "OnSelect" property of the label.

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at

    Somehow it's fine but when we hover on the data label then the label we added for color is not effecting anymore, but it's working when just hover over the added label but not on data labels. do we have any workaround solutions for this?

  • xing_fu_ul Profile Picture
    58 on at

    In my case the label /hover color blocks the other labels under it. is there any suggestion?

  • kimberlyrox Profile Picture
    56 on at

    You most likely need to "Reorder" the box and send it backwards or to the back.

  • St3v3 Profile Picture
    16 on at

    This option works well and is not blocked by other items, but it limits the colour choice.

     

    Create a new text box within the gallery (I called it MouseOver).

    Make sure it is at the top of the items in the gallery.

     

    St3v3_0-1651533762966.png

     

    Set its Hover Colour to a strong colour but with a low opacity.

     

    St3v3_1-1651533799553.png

     

    Now when you mouse over, it will partially colour the entire result, works will in light themes.

     

    St3v3_2-1651534179839.png

     

  • KY_HP Profile Picture
    5 on at

    One vote that St3v3's solution is more elegant than the selected one and worked like a champ.

  • Dhiaeddine Profile Picture
    4 on at

    Add a rectangle on your gallery's first element to apply it for all elements, change the color to transparent and then in Hoverfill event add RGBA color with opacity like : RGBA(210;0; 0; 0,2) 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard