Addtionally, said role is from my database which has the enum datatype and I want to have specific colors accordingly. I used this code under the colors field in the option list, but this unfortunately doesnt work as well:
I understand the issue you’re facing—I’ve encountered something similar before. I was able to resolve it using the following forum discussion:
For dynamically setting cell colors, you can refer to this thread for the logic:
You can adapt the approaches from these posts based on your data and use case. If you still face any issues after trying this, feel free to reach out—I’ll be happy to help further.