Power Apps Exchange

Please login or click SIGN UP FOR FREE to create your PowerAppsUG account to join this user group.
 View Only
  • 1.  Collection Alternate Row Color with Filter

    Posted Feb 03, 2022 03:11 AM
    Hi,

    i´m using a RowNumber to have alternate row colors in my gallery.


    In a normal view, this works fine.


    But as soon as i use filter for the gallery, the colors are mixed



    Do you know any alternative solution to achieve, that it is always alternate colors, (also when filtered)?

    ------------------------------
    Fabian Heil
    ------------------------------


  • 2.  RE: Collection Alternate Row Color with Filter

    Posted Feb 23, 2022 08:48 AM

    just update RowNumbers together with the filterfunction, which is not really practical useful.

    vote for the idea:

    Ability to display alternate row colors within a g... - Power Platform Community (microsoft.com)



    ------------------------------
    Michael Wickert
    Meißen
    ------------------------------



  • 3.  RE: Collection Alternate Row Color with Filter

    Bronze Contributor
    Posted Feb 24, 2022 07:19 AM
    I always use this in the Gallery / TemplateFill property

    If(Mod(ThisItem.Value,2)=0,RGBA(0, 0, 0, .1))

    ------------------------------
    Frank Voortman
    Office 365 Solution Architect
    Blaricum
    Netherlands643781072
    ------------------------------



  • 4.  RE: Collection Alternate Row Color with Filter

    Posted Mar 04, 2022 04:04 AM
    This only works, if the gallery is not filtered or sorted. As soon as i filter or sort the gallery, the colors will be mixed

    ------------------------------
    Fabian Heil
    ------------------------------



  • 5.  RE: Collection Alternate Row Color with Filter

    Posted Mar 07, 2022 12:31 PM
    This looks pretty cool:
    Power Apps Alternating Row Colors in a Gallery


    ------------------------------
    Lisa White
    Senior IT Specialist
    Herndon VA
    703-709-7172
    ------------------------------