Starting from Initial table, I need to highlight(color) elements as shown in either one of the table examples Ex. 1, Ex. 2, Ex. 3.
I don't know how to do example 1 and 3. But you can do example 2.
Here it is with custom css in a folder app:
myapp/templates/styles.css:
.bk-root .slick-cell.selected {
background: lightblue;
color:red;
}
And the html template:
/myapp/templates/index.html:
{{ bokeh_css }}
{{ bokeh_js }}
{{ plot_div|indent(8) }}
{{ plot_script|indent(8) }}
And in myapp/main.py just have your code that makes the table