Selectively Load Process Status Formatter Based on Status

Introduction

When dealing with large datasets in a List, displaying numerous records on a single page can overwhelm the browser, leading to slow loading times. This article addresses a common performance issue where displaying 100 or more records results in multiple server calls, causing the Process Status Bar to load slowly. We will explore a workaround using the Multi Datalist Formatter plugin and BeanShell code to improve performance by selectively loading the status bar only for specific records.

How does it work?

Add the following BeanShell code to display the Process Status Bar only for records marked as Resolved.

String status = row.get("status");
if(status.equals("Resolved")){
return value;
}else{
return null;
}

Download demo app

Download the demo app for Selectively Load Process Status Formatter Based on Status:
Created by Julieth Last modified by Aadrian on Dec 13, 2024