:: Forum >>

Multiline text in a cell

I'm using grid.
Is there a way to have multiline text in cells.

For example I want to display
Name: ABC
Age: xx Yrs
in a single cell, but one below the other.

I tried to use <br> in the text, I goes to the next line but it is not vieweable. I then tried to increase the height of the row through CSS, but, I couldnot able to view the 2nd line as the first line appears in the midle of the cell.

Is there any way to have a multiple lines in cell text so that it is viewable after increasing the height.

Help me in this issue.

Sanjay Sharma
Thursday, April 12, 2007
in need of the same info

in javascript
cell defined by (1,0) will have data abc displayed

now lets say i want
abc displayes in diffrent line


for cell (1,0)
how to acheive the same

i am fetching data from database
which means i dont know which data will be multiline

is there some function to flexible turn evrything that comes into a string???
Thursday, April 12, 2007

I think using the .aw-text-wrap class should work - see http://www.activewidgets.com/grid.howto.cells/multiline-text.html

Ankur Motreja
Thursday, April 12, 2007

This topic is archived.

Back to support forum

Forum search