Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSRS 2008 - How to hide the plus icon in a group visibility toggle cell

I have a report that shows or hides columns in a group based on a header cell. SSRS makes this pretty easy and is kind enough to place a little plus/minus icon in the toggling cell.

I want to HIDE this plus/minus icon when there is only one column of data in the subgroup, because it shows that one column by default so expanding the group doesn't do anything.

This really only applies to one specific group, because all the others always have more than one column of data, so a way to hide only the icon for a specific group would be fine. JavaScript won't work (I don't think) because the client ID of the plus/minus image is generated by the report and changes with each generation.

see this image for more clarity: http://imgur.com/vqaQA.png

like image 305
Daniel Coffman Avatar asked May 12 '10 19:05

Daniel Coffman


2 Answers

What I usually do is create a narrow column just to the left of the column that the header cell is in and set the cell to the left of the header cell to be the ToggleItem. You can then set the Hidden property of that cell with an expression based on the count.

like image 63
utexaspunk Avatar answered Nov 02 '22 04:11

utexaspunk


I have had similar problem with "plus" sign in my report. And I solved it this way:

enter image description here

like image 23
mrosiak Avatar answered Nov 02 '22 04:11

mrosiak