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
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/.
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?
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/.
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?
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/.
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.
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/.