Hi,
I tried using below class.still changes didn't reflect but I think this approach is close to solution.
.columnStyle0 span{
color : red !important;
}
Please let me know whether I should add columnStyle0 as class name or columnStyle0 span as classname?
used below code to add class dynamically.
var items = sap.ui.getCore().byId("viewid").byId("table").getItems();
for (i = 0; i < items.length; i++) {
var item = items[i];
var obj = item.getBindingContext().getObject();
if (obj.Status == 'Not Well') {
items[i].getCells()[0].addStyleClass('columnStyle0')
}
else {items[0].getCells()[0].addStyleClass('columnStyle1');
}
}
Regards,
Koti Reddy