Skip to Content
0

how to add CSS to the table header in SAPUI5 app

Mar 12 at 02:32 PM

20

avatar image

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>

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Drushya S Mar 13 at 05:54 AM
1

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


model1.png (8.4 kB)
Share
10 |10000 characters needed characters left characters exceeded