cancel
Showing results for 
Search instead for 
Did you mean: 

Applying style to DataTable Row items using style is not working

Girish_KR
Explorer
0 Kudos

I have a scenario where DataTable Row items style needs to be shown in different colors based on status. Even though the Rule is returning correct style, still all items are being displayed in same color ie. the color of 1st item.

{"Value": "{status}", "DisplayType": "Text","NumberOfLines": 2,"TextAlignment": "left","Styles": { "Text": "/Parle_CRM_Approvals/Rules/RequestsStyleApprovalStatus.js" }}

.DataTableTextItem_Approved { font-color: #188918; font-style: body; font-size: 13;}
.DataTableTextItem_Pending { font-color: #f1d54a; font-style: body; font-size: 13;}
View Entire Topic
Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

The issue has been addressed in MDK 23.8.7 release. You can download it from SAP service marketplace.