This workflow snippet shows a possible way to append colors to individual cells depending on the value.
We configure the Rule Engine node to determine the colors of the cells depending on the certain condition. The colors could be defined as a string or as a hexadecimal code (see Links for an example). Then we use the string manipulation node to append the colors to individual cells. To explore the result table interactively, right-click on the node "Table View" and select "Interactive View: Table View" in the dropdown.
Hi all, how can I change the workflow to fill a whole table row with a certain color? Or is this possible by a simple line in the CSS Editor?
I am trying the following code at the moment:
.knime-table-row(2) {
background-color: green;
}
To change the color of the second row to green. Any ideas?
.knime-table-header .knime-table-cell {
color :white;
fill:white;
}
To check that, you can inspect the code with the “inspector” (Google Chrome/Chromium based I think) by right-clicking the JavaScript “Interactive view” :
As you can see below, the odd lines of my table are green, the even lines are red, and the third is blue, right ? (and the last is in selection mode, so blue-ish) :
Hello Guys,
I am just here to help you with some of my knowledge.
I was stuck at a problem that is “How to color the multiple cell value in given data set/ Excel File?”
I worked on it and i found the solution of this problem.
Also i attached my work file with it.
I hope it will be help full for you guys. Coloured_Column_Second.knwf (31.7 KB)