Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Toggle and Visibility depending on Parent Group value Expand / Collapse
Posted Wednesday, April 30, 2014 8:25 AM


Group: General Forum Members
Last Login: Thursday, September 22, 2016 5:50 AM
Points: 434, Visits: 1,403

I have a report where there are collapsible groups IT, Non-IT and Other. I want to remove the collapsible button (+) whenever the Parent is IT and also remove the group header whenever the parent is IT as seen in the attachment.

For other groups I want to display as is .


  Post Attachments 
Toggle.JPG (3 views, 26.85 KB)
Post #1566423
Posted Wednesday, April 30, 2014 11:25 AM



Group: General Forum Members
Last Login: Yesterday @ 7:36 AM
Points: 10,808, Visits: 14,832
I don't know of a way to remove the "+" when you set a toggle item, but you can use an expression in the hidden property of the items being toggled to have them expanded or collapsed and you can use the same expression in the InititialToggleState of the Toggle Item to have the "+" be a "-". In your example I'd use the expression:


So that would expand the items under the IT group and put a "-" next to IT and collapse the items in NON-IT and Other and put a "+" next to Non-IT and Other.

Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming
At best you can say that one job may be more secure than another, but total job security is an illusion. -- Rod at work

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #1566519
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse