29
Views
1
Comments
Data Grid- Conditional Formatting
Question

Hi guys, I am doing Datagrid. I now facing issue on conditional formating(dropdown), I use the setting for all cell, but in the result only odd row will change the color background based on condition, I need all row will change the color background when user select the selected dropdown. 

Second issue, I have a column on Last Update On, now I manage to format all row with the current time when there is any changes in the table. But what I want is only when there is any changes in the specific row, only that particular row will update the time on the specific row, anyone can assist on this?

2026-01-28 16-57-48
Mihai Melencu
Champion

Hi @PUA WEI KANG ,

1. For the first issue, make sure you're using the correct class selectors for the rows: both .wj-cell and .wj-cell.wj-alt should be included. 

Sample: Conditional Format | OutSystems DataGrid.

2. From what I understand, you want the LastUpdateOn column to update automatically when any other column in a row is changed. To achieve this, use the SetCellData client action in the OnCellValueChange event of each column to also update the LastUpdateOn cell for that row. 

Also, make sure to name your column:


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.