Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
gayatri7
Creator II
Creator II

Qliksense - Formatting of Pivot table moving while scrolling down - CSS script

Hello All,

I have below pivot table that I wanted to highlight bold for certain rows. But  while scrolling the font format is moving down across different records. And it is not sticking to the required record.

 

gayatri7_0-1696848328702.png

I want to apply the bold function only to the above rows. But when I scroll down , bold function is moving down also.

gayatri7_1-1696848419515.png

Could anyone let me know, how do I fix this and stick to the required rows. Same issue is happening if I apply certain background color for specific row.

I am using below css script in multiple KPI object.

/* -- background for rows in pivot table-- */
[tid="data.row"]:nth-child(odd) 
{
background-color:#D3D3D3;
        
      
}
/* -- Bold for specific rows in pivot table-- */
[tid="data.row"]:nth-child(5) 
{
  font-family: "Arial Black";
       
     
       
}
[tid="data.row"]:nth-child(6) 
{
  font-family: "Arial Black";
        
       
}
 
[tid="data.row"]:nth-child(7) 
{
  font-family: "Arial Black";
        
       
}
 
[tid="data.row"]:nth-child(9) 
{
  font-family: "Arial Black";
       
}
 
 
[tid="data.row"]:nth-child(20) 
{
  font-family: "Arial Black";
       
}

 

Please your help will be appreciated.

 

Note: Font.weight is not working in my case. So I am using the   font-family: "Arial Black";

Thanks

Gayatri 

Labels (1)
0 Replies