---
title: "Conditional Work Order Row Highlighting 3.0"
id: "conditional-work-order-row-highlighting-3-0"
project: "Knowledge Base"
url: "https://docs.sepasoft.com/articles/knowledge-base/conditional-work-order-row-highlighting-3-0"
updated: 2026-07-23T18:08:23Z
---

# Conditional Work Order Row Highlighting 3\.0

Example: You want to highlight Work Order Table Row(s) if the Remaining Quantity &lt; 0

![](/resources/Storage/knowledge-base/conditional-work-order-row-highlighting-3-0/image2022-12-22_9-46-33.png)

## Step-by-step guide

1. From the designer, right-click on the Work Order Table and go to Scripting. Then navigate to the Extension Functions and find **configureCell**
    1. ![](/resources/Storage/knowledge-base/conditional-work-order-row-highlighting-3-0/image2022-12-22_9-43-3.png)
2. Add the following script under the function:

Code

```
if self.data.getValueAt(rowIndex,'Remaining Quantity') < 0:
		return {'background': '#7BB665'}
```


#### Caution

This function executes for all cells in the Table. Ensure your script is minimal to keep from blocking the UI.

## Related articles

[MES Work Order Table](/docs/display/MHD/MES-Work-Order-Table)