i need to configure an action plan (interface) for RAG statuses (Green,Yellow,Red)(if user selects green from a drpdown(which is in editable grid)in the consecutive column should display(the selected colour) automatically,)
can any suggest me some example code
Discussion posts and replies are publicly visible
Hi shilpak0002
I don't think its possible to color the entire cell in a grid field. You can try to add a image field next to the drop down field and show an icon in Green, Yellow or Red based on the drop-down value selected. You can change the icon values as per your need below.a!imageField( images: if( fv!item.status = cons!GREEN_COLOR, a!documentImage( document: a!iconIndicator( icon: "STATUS_OK" ), caption: "GREEN" ), if( fv!item.status = cons!YELLOW_COLOR, a!documentImage( document: a!iconIndicator( icon: "STATUS_OK" ), caption: "YELLOW" ), a!documentImage( document: a!iconIndicator( icon: "STATUS_NOTDONE" ), caption: "RED" ) ) ), size: "ICON", align: "CENTER")