Jump to content
  • 0

hide first group in tabular report aggregation


KG360

Question

Hi,

I have in several instances the need to control what groups are aggregated and not. The configuration page allows me to elect; None; First Group; and All Groups. See attached image.

Now, I need to hide the First group and only show the second. Occasionally, I want only one or more specific groups aggregates to show. Any ideas? I have a script whereby I can hide the Overall scope total*. Maybe a similar script could be helpful?

I appreciate any ideas.

/KG

 

*Script to hide overall total  

<style>
.cbResultSetTotalsLabel, .cbResultSetTotalsData {
display:none;
}
</style>

Screenshot 2023-11-30 120524.png

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

Hello @KG360,

I understood your request in the following way: you applied grouping for multiple fields on the Results page and enabled Group-level aggregation = "All groups".

For example, there are 2 fields with enabled grouping: "Category" and "Name" and you would like to hide the values highlighted in red:

f0PLpSs.png

If this is correct, you may add the CSS code to the Header of the Result page:

<style>
tr[data-cb-name="group1"] td:nth-child(2) {
display: none !important;
}
</style>

Hope this helps.

Link to comment
Share on other sites

  • 0
14 hours ago, CoopperBackpack said:

Hello @KG360,

I understood your request in the following way: you applied grouping for multiple fields on the Results page and enabled Group-level aggregation = "All groups".

For example, there are 2 fields with enabled grouping: "Category" and "Name" and you would like to hide the values highlighted in red:

f0PLpSs.png

If this is correct, you may add the CSS code to the Header of the Result page:

<style>
tr[data-cb-name="group1"] td:nth-child(2) {
display: none !important;
}
</style>

Hope this helps.

 

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.

Guest
Answer this question...

×   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.

Loading...
×
×
  • Create New...