cancel
Showing results for 
Search instead for 
Did you mean: 

how to add CSS to the table header in SAPUI5 app

nagasankaranand
Explorer
0 Kudos

Hi All,

I have a table in which i want the column heading to be bold ,i am having a css in which i have a class .withBold .When i add it to a text inside the Column tag it was not working same class if i use it out for a Text tag then its working as expected , am i missing something here ?

<columns>

<Column minScreenWidth="" demandPopin="false">

<Text text="Region ID" class = "withBold" /> </Column>

Accepted Solutions (1)

Accepted Solutions (1)

former_member553417
Participant

hi Naga,

Give a table id for eg <Table id="ApproverTab">.

Inside html style

tag

<html:style>

#idDetailPage1--DetailFrag--ApproverTab-listUl tr th span{

font-weight: bold !important; }

</html:style>

idDetailPage1--DetailFrag--ApproverTab-listUl is the element id

model1.png

Answers (0)