Highlight Rows and Columns of Grid in Sage CRM

By | January 11, 2018

Sage CRM v7.2 onwards client side library has been provided to highlight rows and columns of a grid. In this blog, will explain how to highlight Sage CRM Grid rows or columns based on particular conditions.

New Stuff:Diagnose System Health in Sage CRM 2017 R2 – Part 1

Consider you want to highlight all Opportunities in Green under My CRM and Team CRM which are in “Qualified” stage. You need to follow below steps for the same.

  1. Login to Sage CRM
  2. Navigate to below path.
    Administration | Customization | Opportunity
  3. Navigate to List tab and click on the OpportunityFilterBox
  4. Copy and Paste below code into the Custom Content section of List.Navigate to below path.
    <script>
    crm.ready(function()
    {
    crm.grids().filterWhere(‘oppo_stage’, ‘contains’, ‘Qualified’).highlightRow(‘lightgreen’);
    });
    </script>
  5. Click on Save Button.

Once done, you will see that all opportunities will be highlighted in Green as shown below.

StageColor

Another example that if you want to highlight a particular column of a grid then you need to add below code into Custom Content. Rest all steps will remain as explained above.

<script>
crm.ready(function()
{
crm.grids().column(‘comp_name’).highlightCell(‘orange’);
});
</script>

CompanyColor

About Us
Greytrix is one stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix has some unique integration solutions for Sage CRM with Sage ERP’s (Sage X3Sage 100Sage 500 and Sage 300).We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users and Sage PSG worldwide. Greytrix helps in migrating to Sage CRM from ACTGoldmine and other CRM’s.

For more information on our integration solutions, please contact us at sage@greytrix.com. We will be glad to assist you.