cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the header text color of a table in SAP UI5?

0 Kudos

hi all,
I am trying to change the color of Header text (table heading ) of my table in sap. but as header text does not have any id , so i am unable to apply css on it.

Any suggestions are highly appreciated.
Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

i found a ways around used below css proerty ( in css file ) and called it in controller.js where the table binding is done :

CSS :
.HeaderText{ background-color : #cce0ff } Controller.js :
medTable.addStyleClass("HeaderText");
//medTable here is my variable for table.

Answers (0)