cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Change gallery row color when hover over it

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

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

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!

View solution in original post

2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

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!

View solution in original post

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?

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,406)