Forums

This topic is locked

Table cells size changes relative to data length

Posted 30 Oct 2001 23:27:54
1
has voted
30 Oct 2001 23:27:54 B. B. posted:
Hello! Having a hard time trying to locate a technote or previous post for this.

Have defined a table that displays records from a recordset using the repeat region behavior on the page.

The height of the rows and width of the columns change depending on the length of the data value in a particular row or column.

What is the best way to stop this from happening? Have tried to increase the width of a table cell to hopefully allow for the maximum number of characters that a value can have but that did not work. The font is the same for all the data values with most being in mixed case and 25 is the maximum length of a value in a column.

Some of the longer values wrap across two lines in a cell if the value is too long for the current width. Is there an extension to correct this or something basic in UD4 formatting that might work? Will appreciate any help. Thanks!

Replies

Replied 31 Oct 2001 01:45:31
31 Oct 2001 01:45:31 Viktor Farcic replied:
I'm not sure if I undersoot you correctly. Do you want to prevent content from wraping? It thats so, just mark 'No Wrap' checkbox in Properties window.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hello! Having a hard time trying to locate a technote or previous post for this.

Have defined a table that displays records from a recordset using the repeat region behavior on the page.

The height of the rows and width of the columns change depending on the length of the data value in a particular row or column.

What is the best way to stop this from happening? Have tried to increase the width of a table cell to hopefully allow for the maximum number of characters that a value can have but that did not work. The font is the same for all the data values with most being in mixed case and 25 is the maximum length of a value in a column.

Some of the longer values wrap across two lines in a cell if the value is too long for the current width. Is there an extension to correct this or something basic in UD4 formatting that might work? Will appreciate any help. Thanks!


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Replied 31 Oct 2001 11:16:11
31 Oct 2001 11:16:11 B. B. replied:
Hey! Yes that was part of question and checking the No Wrap made the row height the same now.

However, still have a small issue with the table column width. The width of the column is wider if the value of the data is longer.

How is this corrected? Possibly just increasing the widths on all the columns to contain the maximum data value length or is there another way? The No Wrap for the row height worked great and it looks a lot better now.

Would appreciate any more recommendations concerning the column width. Thanks!

Replied 31 Oct 2001 12:24:18
31 Oct 2001 12:24:18 Viktor Farcic replied:
Send the address so that I can take a look at page itself.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hey! Yes that was part of question and checking the No Wrap made the row height the same now.

However, still have a small issue with the table column width. The width of the column is wider if the value of the data is longer.

How is this corrected? Possibly just increasing the widths on all the columns to contain the maximum data value length or is there another way? The No Wrap for the row height worked great and it looks a lot better now.

Would appreciate any more recommendations concerning the column width. Thanks!


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Reply to this topic