Add following while preparing records array:
'w2ui':{style: {
10: ($(this).attr("ows_Column1")=="Approved")?"background-color: green":"red",
11: ($(this).attr("ows_Column2")=="Approved")?"background-color: yellow":"",
}}
To highlight specific header:
<style type="text/css">
td[col="6"].w2ui-head,td[col="7"].w2ui-head {
border:dashed 2px #0099f8 !important;
font-weight:bold;
}
</style>
No comments:
Post a Comment