Can the row height of a datawindow be resized differently for each row? Meaning, row 1 can have a different height from row 2 but belonging to the same datawindow.
You may set the AutoSizeHeight attribute of Detail Band as well as the Column(s) to TRUE. These resize the height of the detail band dynamically depending on the data.
Since my columns have a box border, if the columns don't have data and I use AutoSize height, the column wouldn't display even the box. And if I use autosize height the each column will have different row height depending on the data supplied. What I wanted is to produce a row with its columns with same height depending on the column with the most number of characters.
Let's say I have a datawindow with columns name, address and phone number. Since address could accept longer character length, if the address exceeds the maximum number of characters that would fit the display I must resize name, address and phone number.
Such minute fine-tuning is not possible in a DataWindow. You could however, determine the maximum length of data in your address column at design time and size the height of all the other columns to the height of the maximum height of the address column.
An invisible column object stores the number of lines the row must have. I use this as a multiplier for the row height. Row height is being computed at the height property at the Expressions tab.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.