:: Forum >> Version 1 >>

Row height / multi-line fields

More information on this topic is available in the documentation section: /active.howto.style.rows/row-height.html.

Hi,

I have a field that I would like to display that could have multiple lines (ie using <br />). Is there a way to display this elegantly in the grid? Or otherwise set the row height (for one or all rows, probably won't matter much in my case)?

Thanks
Wednesday, December 31, 2003
To set the row height you need two CSS rules (one for the row and one for the row headings):

.active-grid-row {height: 50px;}
.active-scroll-left .active-list-item {height: 50px}

Alex (ActiveWidgets)
Monday, January 5, 2004
this will work if all rows have the same height, but is there a way to set an auto height for rows that may have 1 line item as opposed to rows that have 5 or 6 line items? is there a way to maybe word wrap text in a cell and have the height determined by that?
Larry
Monday, June 7, 2004
Larry and Alex,

I just posted a new topic to /javascript.forum.1360.0/ trying to find out how to correctly set the row height for each row/data cell.

I used the CSS rules above, but noted that with these rules in place, the actual data cell/div does not resize to the new desired height (60px), but rather is still left at the "old" height of 25px, thus causing my multi-line display to be cut-off.

ANy ideas on this????
Dean
Tuesday, June 15, 2004
I guess this is some sort of CSS bug, maybe another variant will work:
/javascript.forum.1360.1/
Alex (ActiveWidgets)
Tuesday, June 15, 2004



This topic is archived.

Back to /active.howto.style.rows/row-height.html

Documentation:

Forum search