Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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 (2)
0 Replies