Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Orenda Grids Help V4.0
  • V4

How to Enhance Data Representation in XRL With Advanced Row Settings

Learn how to customize the formatting for the rows in a grids to highlight important data as needed.

Written by Akanksha Shukla

Updated at December 3rd, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Orenda Grids Help V4.0
    V4
  • Partner Quoting Workspace (PqW)
  • Partner Renewal Workspace (PrW)
  • Extended Related List- XRL
    Getting Started With XRL XRL V4
+ More
  • Orenda Grids Help V4.0

    • V4

      •  Introduction to Orenda Grids
      •  Installation and Setup Guide- Orenda Grids
      •  Basic Configuration of Extended Related List Component in Orenda Grids
      •  Advanced Configuration of Extended Related List Component in Orenda Grids
      •  Understanding the Extended Related List Interface in Orenda Grids
      •  How to Create Multiple Data Views using Orenda Grids XRL
      •  How to Share and Delete XRL Views
      •  How to Enable Comparison Interface in Data Views
      •  How to implement Virtual Fields in XRL
      •  How to Customize Data Representation in XRL for efficient Lookup, Browsing and Actions
      •  How to Enhance Data Representation in XRL With Advanced Row Settings
      •  How to Create Salesforce Data Views With Unlimited Records
      •  How to add and filter data through Lookup fields in XRL
      •  How to Enhance Data Presentation in XRL with Advanced Column Settings
      •  How to Customize Action Settings in XRL
      •  How to Apply Server-side Filters in XRL
      •  How to Apply Client-side Filters and Sort in XRL
      •  How To Create Salesforce Data View With Indirect Related Lists In XRL
      •  How to customize actions using Advanced settings in XRL
      •  How to enable dynamic server side filtering in XRL views
      •  How to Edit/Bulk Edit Fields in XRL
  • Partner Quoting Workspace (PqW)

  • Partner Renewal Workspace (PrW)

  • Extended Related List- XRL

Introduction

Using Orenda Grids Extended Related List component (or XRL), you can use conditional formatting of rows for applying formatting rules to rows in a Orenda Grids XRL based on certain conditions. You can, for example, highlight rows where a certain value is greater than a specified value or where the value equals a specific text. This allows you to quickly identify the most important data in your list without having to manually filter or sort it. It is a must-have feature for power users who need to process data quickly and efficiently.

This article delves into the advanced row settings provided by XRL, demonstrating how users can leverage JavaScript and JSON code to enhance row interactions, improve data visualization, and customize the overall appearance of related lists.

 

Prerequisite

The Power user must perform the configuration in order to customize the data.

Refer to the links below for more detailed instructions. 

  • Basic configuration
  • Advanced configuration

Which type of user can format rows?

Users assigned with XRL admin permission set (Power users) can perform these actions in the configuration wizard using Orenda Grids- Extended Related Lists.

 

 

Limitations in Existing Salesforce Data Views

Before diving into the advanced row settings, it's essential to acknowledge the limitations in standard Salesforce row configurations:

  • Limited Row Interaction Customization: Standard Salesforce rows often lack the flexibility for users to define custom interactions or callbacks.
  • Uniform Styling Challenges: The default styling options for rows may not cater to diverse visual requirements, limiting the ability to highlight or differentiate rows effectively.

 

Procedure

Follow these steps to understand how to use conditional formatting to format rows. We will work with the Cases XRL example to walk you through the steps.

Step 1: Click on the gear icon on the right and click on Configure option from the dropdown.

 

Step 2: The configuration wizard is displayed. Click on the Table Settings tab. 

Step 3: Advanced Section Tab

Advanced Section in Table Settings is a feature in Salesforce Orenda Grids XRL that allows you to customize the appearance, behavior, and functioning  of rows and their data values depending on any condition. You can also leverage these settings to control the update operations in records through rollback or call back functions. This can further enhance the Related List data quality in the view and database. For example in the code snippet mentioned below, you can customize the following row settings:

Disable Select All:

  • isSelectAlllDisabled: true ensures that users cannot select all rows simultaneously, adding control to row selection.

Tooltip for Row Callback:

  • rowCallbackTooltipText: "Rowcallback enabled" sets a tooltip text for rows, providing additional information when interacting with them.

Row Callback Function:

  • rowCallback is a function that triggers an action when interacting with rows. In this case, it logs "Hello" to the console.

Conditional Row Background Color:

  • rowCss function dynamically sets the background color of rows based on a condition. If the row number (sl) is even, the background color is red; otherwise, it's green.

After Load Transformation:

  • afterloadTransformation function executes after loading records, logging "Hello from after Load" to the console and returning the records.

Before Delete Validation:

  • beforeDeleteValidation function returns false to prevent deletion, offering a pre-validation step.

Before Save Validation:

  • beforeSaveValidation function returns false to prevent saving, allowing for pre-save validation.

Grouping Function Transformation:

  • groupingFunction transforms group titles by appending '123' to each, providing additional information.

Records Drag and Drop Callback:

  • recordsDragDropCallback defines custom actions when dragging and dropping records, returning an empty array in this example.

After Edit Callback:

  • afterEditCallback logs "Hello From After Edit" to the console after editing records, enhancing post-edit actions.

Show List View Dropdown Callback:

  • showListViewDropdownCallback returns true to display the list view dropdown, controlling its visibility.

Show Configure Callback:

  • isShowConfigureCallback returns true to show the configure option, allowing users to configure related lists.

 

{
	"isSelectAlllDisabled":true,
	"rowCallbackTooltipText": "Rowcallback enabled",
"rowCallback":function(scope,libs,column){
console.log('Hello');
},
	"rowCss": function(row) {
		if (row.sl % 2 === 0) {
			return 'background-color:red;'
		}
		
	},
	"afterloadTransformation":function(scope,libs,records){
  		console.log('Hello from afterLoad');
  		return records;
},
"beforeDeleteValidation":function(scope,libs,record){  return false;},
"beforeSaveValidation":function(scope,libs,record){  return false;},
"groupingFunction":function(scope,libs,groups){ 
       groups.forEach((el) => {
      el.title = el.title+'123';
});
 	return groups;
},
"recordsDragDropCallback":function(scope,library,records,draggedRecord,futureParentRecord) {    
const topLevelRecords = [];  
return topLevelRecords;
},
"afterEditCallback":function(scope,libs,records){
console.log('Hello From AfterEdit',records);
return records;
},

"showListViewDropdownCallback": function(scope,libs,listViews,currentSelectedListView){
return true;
},
"isShowConfigureCallback":function(scope,libs){
 return true;
}

}

To achieve the desired result, paste this code into the Advanced Settings tab as shown in the screenshot.

 

Results

Thus using above procedure, you can see:
1.  The Related List view has changed to show even numbered rows highlighted in red colour. 

2. When you apply the grouping of records based on specific column, say Case Reason, the records will be grouped together based on the reason and each reason is renamed by appending ‘123’. For example, Performance is modified to Performance123.

Similarly, there are callback function will work as established through the code in the block.

 

To learn about how the columns can be formatted for better data views in specific fields. go through our article- How to Enhance Data Presentation in XRL with Advanced Column Settings.

conditional formatting in salesforce views customized salesforce views user-customized data views in salesforce grouped records in salesforce views

Was this article helpful?

Yes
No
Give feedback about this article
In this article
  • Introduction
  • Limitations in Existing Salesforce Data Views
  • Procedure
  • Results

Related Articles

  • Introduction to Orenda Grids
  • Installation and Setup Guide- Orenda Grids
  • Basic Configuration of Extended Related List Component in Orenda Grids
  • Advanced Configuration of Extended Related List Component in Orenda Grids
  • Understanding the Extended Related List Interface in Orenda Grids
Orenda Logo Salesforce Logo

Salesforce™ Force.com™ and other trademarks are trademarks of salesforce.com, inc. and are used here with permission.

Company

  • About
  • Why Orenda
  • Contact

Solutions

  • Asset Management
  • CPQ Accelerator
  • Multi Level History Tracking
  • Order Management

Others

  • FAQ
  • Privacy Policy
  • Glossary

Copyright 2024. All rights are reserved

  • Orenda
  • sales@orendahq.com

Knowledge Base Software powered by Helpjuice

Expand