Jump to content
  • 0

Show Aggregation rows dynamically


Gillian

Question

3 answers to this question

Recommended Posts

  • 0

Here is a sample code you can use:

<SCRIPT LANGUAGE="JavaScript">
var elems = 
document.getElementsByClassName("cbResultSetGroup1Label cbResultSetGroup1LabelCellNumberDate");
for (var i=0, m=elems.length; i<m; i++) {
if (elems[i].innerHTML=="1") { elems[i].innerHTML=null;}
}
</SCRIPT>

On my sample, I have an aggregation that counts the number of records under it so that I can hide the subtotal with "1". Here is the sample output:
image.png.2d65a230d5b8087ddcd52791ddac58f5.png

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