Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Ajith_Raja_QlikSense
Contributor II
Contributor II

Qlik Custom Object Straight Table CSS

Ajith_Raja_QlikSense_0-1723206129250.png

Hi,

I am using the Straight Table under the Custom Object , But I am unable to use CSS for this table.

I am using below CSS in Multi KPI for normal table which is working fine. 

Kindly help me to use the CSS in Straight Table,

 

/*css code to color alternate rows in a table*/

.qv-object-table .qv-inner-object .qv-object-content-container .qv-grid-object-scroll-area table tr:nth-child(even) {
background: #e7f2fd
}

.qv-object-table .qv-inner-object .qv-object-content-container .qv-grid-object-scroll-area table tr:nth-child(odd) {
background: #ffffff
}

/*CSS to bold text and background color column header*/

.qv-st table th{
font-weight: bold;
}
/*Background color for total*/
.qv-st-total-cell {
background-color: #271e79 !important;
color: #ffff !important;
}

/*To give background color to header*/
.qv-object-content-container .qv-object-content table th{
background-color: #271e79;
color: #271e79 !important;
}

Labels (3)
0 Replies