[Dojo-interest] Subject: Re: Multi-line text in Grid Cell

Wei CDL Huang hwcdl at cn.ibm.com
Mon Jun 28 08:55:29 EDT 2010


By default the text should be wrapped in the cell, and one way you may try 
- using a formatter function to customize the cell content, e.g.

<th field="name" formatter='fmt'>Column 1</th>

fmt: function(value, idx){
        return '<div>Format content here for your desired style!</div>'
}

Regards.

>
Hi

I want to put multiple lines of text in one grid cell.  For this app I 
need a name an address all in one cell.  I know I can do this using 
rowspan with each line in a separate cell, but I really want the address 
block all in one cell.  Is this possible?

     -Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20100628/d68acea4/attachment.htm 


More information about the Dojo-interest mailing list