Table row cell heights

0 Answers 57 Views
Report Designer (standalone) Styling
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
Taras asked on 13 Dec 2021, 10:10 PM

In standalone designer, R3 2021.

I have a table being displayed as shown below.

How do I get the time cell for second row to be the same size as the treatment text?

The detail section and both cell height parameters are all the same

Dimitar
Telerik team
commented on 16 Dec 2021, 12:08 PM

I tested to reproduce this case locally but in all of my tests, when one of the textBoxes in the table row needed to grow, the whole row grew with each textBox inside it. Make sure that the textBox's CanGrow property is True. (Although, I tested to set it to false and the row still grew when one of the textBoxes needed more height).

Is the textBox with the value "13:11" inside the table item? You may also try to artificially grow the textBox through a binding to its Height property where you take into account the Fields.Treatment field's value/length and then modify the height accordingly to suit the value of the Treatment field. If the text functions that we provide are not enough for this task, you may also introduce custom functions created by you where you may apply your own logic - User Functions.

If you continue to struggle with this issue, I am afraid that I would need a sample report that can demonstrate the issue in order to debug it further. Please send us such a report along with a small sample of data and I will investigate the problem locally.

Taras
Top achievements
Rank 3
Iron
Iron
Veteran
commented on 20 Dec 2021, 09:43 PM

CanGrow was set to True

It is inside the table item.

I ended up copying the row from the Sales Order Details example for use in my report.

No answers yet. Maybe you can help?

Tags
Report Designer (standalone) Styling
Asked by
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
Share this question
or