Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamically change row color in grid view

Posted on by 815

Is it possible to dynamically change the back color of a row depending on a certain column value? I have not seen a supported solution online, I was wondering what the `Unsupported` way of doing this is? And also is there a way to see the colors on a dashboard or is it just exclusively for forms?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamically change row color in grid view

    Well Its in your webresource and can be execute from button on command bar

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamically change row color in grid view

    Where did you attach your js code ? I mean what executes your code ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamically change row color in grid view

    I know this is too late for the response, but here I have done something which is similar  to your requirement. Do have a look 

    https://pramoddhokane.wordpress.com/2016/05/27/grid-formatting-in-dynamics-crm-2016/

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamically change row color in grid view

    Thanks to given this Link 

  • Royal King Profile Picture
    Royal King 27,686 on at
    RE: Dynamically change row color in grid view

    Take a look at below post that provides steps to apply custom color

    xrmadvice.wordpress.com/.../conditional-formatting-for-crm-2013-grids-using-actions

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    Rajkumar Rajaraman 18,108 on at
    RE: Dynamically change row color in grid view

    Hi

    Refer the below link:

    dynamicsofdynamicscrm.wordpress.com/.../adding-row-colours-to-crm-2013-sub-grids-dynamically-based-on-value-in-cells

    Rajkumar Rajaraman

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans