Home > Forum > Tips&Tricks > Data table filed - rows coloring

Data table filed - rows coloring
1

Hi,

Do you know how to make rows in a 'Data table' field colorful? I get some data from subworkflows by the table field and I want to color some rows depending on their status: open - blue, closed-green ...
Is there such posibility?

MVP
In reply to: Martin Meze (Freelancer)

Hi Darek,

You can start from Daniel's tutorial. It's not colors, rather icons (which can have different colors):
https://daniels-notes.de/posts/2021/little-excel-helpers#creating-multilingual-icon-html-tags

Let me know if that works for you or if you need additional help.

Best regards,
Martin

Hi Darek,

the simplest way for your case could be the following:
Add an html field where you define the css style.

#SEL_SQLGrid_728 td[data-column="WFD_Signature"] {
font-weight: bold;
}
#SEL_SQLGrid_728 tr:nth-child(odd) { background: yellow; }


Replace the ID 728 with a reference of the field and change the name of the column accordingly.

Best regards,
Daniel

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.