This is a migrated thread and some comments may be shown as answers.

Conditional Formatting Visibility

1 Answer 402 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
derek
Top achievements
Rank 1
derek asked on 07 Jan 2013, 07:31 PM
I have my Details section set out as a list rather than as columns.
Meaning it looks like:
Label1   Field1
Label2   Field2
...
rather than
Label1   Label2 ...
Field1    Field2 ...

I have conditional formatting to hide "rows", which works.  Aliases down to AddendaType will hide if they are null.  I tested by putting textBox19 in.  The problem is that the next Details section is still where it would be if those fields printed, leaving a 3 row gap.

I know I remember seeing something about the Header Section not resizing, so I assume my Detail Section is not "shrinking", just the boxes within the Details section shift.

What is the best practice to simulate what I'm trying to do?

Screen shot included of detail page because the data is sensitive.

I was able to get close to what I want, but not in a pretty way, so I'm still hoping someone else has something better.
Clipboard02 shows highly squished row fields, which will expand when data is present, but it doesn't have the proper spacing between rows if multiple rows have data.  I also added a grouping to get a small gap between consecutive Detail sections.
Which leads to question 2:  I wanted to set the group2Footer to visible only if it is not the last Detail section in a Group. So I want to compare = RowNumber() <> Count(Fields.PossibleMatch) , but this doesn't work because the Count returns 1.  Placing the Count in group1Footer gives me the count I want.  Can I get that Count where I want it, or is there another way of saying "If I'm not the last row, then show me"?

1 Answer, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 10 Jan 2013, 04:48 PM
Hi Derek,

See Controlling Height section in Understanding Report Structure help article for explanation how to handle such layout.

Kind regards,
Steve
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
derek
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or