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

Dynamic column width cause incorrect height

4 Answers 253 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Denis
Top achievements
Rank 1
Denis asked on 24 Jul 2020, 12:51 AM

Hi,

I have an issue with the row height, if table has dynamic column's width.There is the following table structure: parent table has 4 columns, the last one contains child table with images. This column can be hidden (it depends on report parameter value). In case if this column is hidden other columns' width must be changed. But there is an issue with the rows that can be written in more than 1 line in complete table - they take the same height in case if last column is hidden and text is paced in one line. Please see attached screenshot. How to remove this empty place? Also you can find report sample attached (please remove .jpg from filename). Thank you.

4 Answers, 1 is accepted

Sort by
0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 28 Jul 2020, 09:31 PM

Hi Denis,

Thank you for providing the sample. I was able to reproduce the same behavior. As a result, I need to follow up with my colleagues on the development team to verify if this is a bug.

Once I have I have more information, I will reply to this thread. 

In the meantime, please let me know if you need any additional information. Thank you for being a valued Telerik Reporting developer.

Regards,


Eric R | Senior Technical Support Engineer
Progress Telerik

0
Neli
Telerik team
answered on 29 Jul 2020, 09:10 AM

Hi Denis,

The behavior is caused by the Binding of the HtmlTextBox. Note that when the row height/width is set with bindings will be respected only if it is sufficient to accommodate the content in all cells of the corresponding row or larger. Otherwise, the Reporting engine will use the minimum height required to accommodate the entire content, e.g. the binding will not be respected.

I would suggest voting for Column's height is not calculated correctly bug report which is already planned. In this way, you will be notified when the bug is fixed.

Regards,
Neli
Progress Telerik

0
Denis
Top achievements
Rank 1
answered on 04 Aug 2020, 08:19 AM

Hi Neli,

Thank you very much for provided information. Is there any temporary workaround for this issue? (Except creating separate table without dynamic column and show it in required cases). Thank you.

0
Neli
Telerik team
answered on 07 Aug 2020, 06:33 PM

Hello Denis,

I have tested different approaches but I am afraid that there is no other workaround I can suggest so far

Regards,
Neli
Progress Telerik

Tags
General Discussions
Asked by
Denis
Top achievements
Rank 1
Answers by
Eric R | Senior Technical Support Engineer
Telerik team
Neli
Telerik team
Denis
Top achievements
Rank 1
Share this question
or