Jump to content

Hiding columns including aggregation rows in Datapage

Recommended Posts

I have a datapage where I'm hiding some columns of calculated fields using CSS below. 

#target table:nth-of-type(2) td:nth-of-type(10)  {display: none;}
#target table:nth-of-type(2) th:nth-of-type(10)  {display: none;}
#target table:nth-of-type(2) td:nth-of-type(11)  {display: none;}
#target table:nth-of-type(2) th:nth-of-type(11)  {display: none;}

That works great, but it doesn't hide the columns in the aggregation rows so I have an overhang of dark grey in my table (see picture). Capture.JPG.27941dc587b69afbd95f1b5ccaa1b725.JPG


I think the problem is that in the totals rows, text spans multiple columns, so it's not really column 10 and 11 I have to hide in these rows. Does anyone know how to target these cells and hide them? 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...