Have rows same height

1 Answer 223 Views
Report Designer (standalone)
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
Taras asked on 17 Jun 2022, 02:39 PM

I have a relatively simple report.  Four columns, three of which will contain little data, but the fourth could contain a large amount (see figure attached).

How do I get the row bottoms of the first three columns to align with the fourth?

All columns have Behavior defined as:
Culture                 (default)
Keep Together   TrueMultiline              True
Visible                 True

All have Appearance.TextWrap True

The detail section that they are in has Behavior defined as:
CanShrink            False
Keep Together   TruePageBreak           None
Visible                 True

Report is created with standalone designer version 16.1.22.511

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 22 Jun 2022, 08:22 AM

Hello Taras,

Thank you for the attached screenshot!

From what I understand, the columns are actually textboxes that are inserted directly into the detail section, is that correct?

If that is indeed the case, then I have to say that there isn't a property that can notify a textbox about another textbox growing in size or having access to another report item's size.

In order to have the columns have the same height, please use the Table report item instead. When the table is used, and one of the columns in a table row grows, all the columns grow automatically - Table/Crosstab/List Overview.

Please test this suggestion and let me know if you need further assistance.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
commented on 22 Jun 2022, 06:33 PM

Hi Dimitar,

Yes, it was using text boxes in detailSection1.
When I replaced the text boxes with a Table, the records repeated 3 times. (Based on parameters, there are 3 records)
I saw that if you have the data source as part of the report and the table, this will occur.
I removed the data source from the report.  The records now only appear once, but two other problems come up.

  1. In the header, I print the parameter values (Venue, Start Date and End Date) and a message "No responses reported" if no records match the parameters.  This was conditionally displayed based on the Conditional Formatting Rule =Count(1)=0.  This message now always displays
  2. The old report had Page # of # in the footer.  This was based on = PageNumber("detailSection1", Fields.Venue) + " of " + PageCount("detailSection1", Fields.Venue).  This no longer appears.  If I try to build an expression there are no fields.

How do I get around these items now?

Taras
Top achievements
Rank 3
Iron
Iron
Veteran
commented on 22 Jun 2022, 06:51 PM

OK, got the page count working by using = PageNumber('detailSection1',true)+' of '+ PageCount('detailSection1',true)
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
commented on 22 Jun 2022, 07:30 PM

OK, found out how to display no data message here

https://docs.telerik.com/reporting/designing-reports/connecting-to-data/how-to-set-a-no-data-message

 

It would be much easier if content was more consolidated

Dimitar
Telerik team
commented on 23 Jun 2022, 08:58 AM

Thank you for the feedback!

We are currently in the process of revamping the docs and we appreciate any suggestions.

I want to just mention that you can probably achieve the same functionality by using just the PageNumber and PageCount objects in the expression, for example:

{PageNumber} of {PageCount}

These are called Embedded Expressions, by the way, and may come in handy when you need to use expressions in the middle of a string.

Tags
Report Designer (standalone)
Asked by
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
Answers by
Dimitar
Telerik team
Share this question
or