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

Vertical Lines Not Growing to Detail Size

7 Answers 36 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Veteran
Ken asked on 09 Jan 2021, 06:01 PM

I have a multi-column report where I want vertical lines between each column of data.  I have noticed that the vertical lines do not extend all the way through the details section but stop at the height of the text box.

How do I get either the text box to grow to the size of each detail row or get the vertical lines to go from the top to the bottom of the detail section?

7 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 13 Jan 2021, 12:34 PM

Hello Ken,

Indeed, the vertical lines will extend to the bottom of the detail section and not to the end of the page. We have a feature request for a similar requirement - Better support for form type reports. It will be released with R1 2021 scheduled for the 20th of January 2021.

Generally, the TextBox may grow vertically to accommodate its content. You may also increase its Height with Bindings.

Regards,
Todor
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Ken
Top achievements
Rank 1
Veteran
answered on 15 Jan 2021, 10:19 PM

Hi Tudor,

The examples in the bindings article look like it sets the detail section parameters, but how do I set the field height parameter to be the size of the detail section?

0
Todor
Telerik team
answered on 20 Jan 2021, 10:00 AM

Hello Ken,

This would depend on the exact report layout and may not always be possible.

For example, in physical rendering, the detail section will occupy the area between the page sections. Hence, the physical page height minus the page sections' heights may represent the detail section height on the page. You may use this value to set a report item height. Note that if there are report groups with header/footer or Report header/footer, the approach may become much more complicated.

Regards,
Todor
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Ken
Top achievements
Rank 1
Veteran
answered on 22 Jan 2021, 03:13 AM

Hi Todor,

I understand what you post says, but how do I make all the fields in the detail section the same height?  I thought you stated I should use a binding, but I am not seeing how to accomplish this.

Do you have an example of to set the bind property so all the fields are set to the tallest field?

0
Todor
Telerik team
answered on 26 Jan 2021, 02:12 PM

Hi Ken,

The suggested workaround is not universal. Actually, you cannot get the height of an item and set it to another one with Bindings. What you may do is to calculate or guess the height, for example, based on the incoming data with a user function. However, this will be entirely report- and data-specific.

We have released the new version with the Cross-section item, so I suggest to upgrade and use this new feature to solve the problem.

Regards,
Todor
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Ken
Top achievements
Rank 1
Veteran
answered on 31 Jan 2021, 03:41 PM

Hi Todor,

I see I could use the cross-section item, but how do you create reports where each field has borders and all the top and bottom borders are the same.

In the attacked jpg, you can see that one field is taller than all the others but the other fields do not grow to the same size.

0
Todor
Telerik team
answered on 03 Feb 2021, 03:13 PM

Hello Ken,

You may put the items that should have the same height in a Panel and Dock or Anchor them to the Panel boundaries. This will make them stick with the Panel size and have the same height. See Automatic Layout (Dock and Anchor) for more details.

Regards,
Todor
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Report Designer (standalone)
Asked by
Ken
Top achievements
Rank 1
Veteran
Answers by
Todor
Telerik team
Ken
Top achievements
Rank 1
Veteran
Share this question
or