Hello Team, I have used the blank gallery and have multiples columns to it by grouping the column. Now I want to highlight the selected row. It looks pretty easy in data table control but no in the gallery. Can you please help?
Thanks.
Solved! Go to Solution.
Hi@vshah2,
Could you please share more about your scenario? Is there a grouped gallery?
Based on the issue that you mentioned, do you want to select a row in a grouped gallery and highlighted it?
If there is a normal gallery without being grouped, you can use the formula @KrishnaV provided. If there does exist a grouped gallery, we have to do something different.
According to my assumptions, there is a nested gallery in your app. Select one row in a nested gallery that can’t be achieved currently. You can add a Checkbox inside to select the corresponding row.
I have a test on my side, please take a try as below.
Set(SelectedRow, ThisItem.City)
If(SelectedRow = ThisItem.City, true, false)
If(Checkbox2.Value, RGBA( 28, 196, 220, 3), RGBA(0, 0, 0, 0))
Best Regards,
Qi
Hi @vshah2 ,
Try this for template fill property of the gallery:
If(ThisItem.IsSelected,RGBA(22, 220, 220, 5), RGBA(242, 242, 242, 5))
I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.
Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.
Proud to be a Super User!
Regards,Hi@vshah2,
Could you please share more about your scenario? Is there a grouped gallery?
Based on the issue that you mentioned, do you want to select a row in a grouped gallery and highlighted it?
If there is a normal gallery without being grouped, you can use the formula @KrishnaV provided. If there does exist a grouped gallery, we have to do something different.
According to my assumptions, there is a nested gallery in your app. Select one row in a nested gallery that can’t be achieved currently. You can add a Checkbox inside to select the corresponding row.
I have a test on my side, please take a try as below.
Set(SelectedRow, ThisItem.City)
If(SelectedRow = ThisItem.City, true, false)
If(Checkbox2.Value, RGBA( 28, 196, 220, 3), RGBA(0, 0, 0, 0))
Best Regards,
Qi
Hi@vshah2,
Have you solved your issue?
If it solves your request, Mark it as a Solution to enable other users to find it.
Best Regards,
Qi
User | Count |
---|---|
214 | |
95 | |
88 | |
49 | |
37 |
User | Count |
---|---|
271 | |
104 | |
103 | |
60 | |
59 |