View Full Version : Displaying whole text

14 Mar 2012, 4:40 AM
Hello. In example basic grid http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.Panel we can paste a long text in any field ( "name" : "text...text"). After rendering text will be cut ( text ...). How can I display whole text such as in simple html table ? Problem was solved by adding tags " table tr td ...text...table tr td ", but I think it isn't good.

14 Mar 2012, 11:22 AM
You want the cell to wrap or something?

14 Mar 2012, 7:06 PM
Yes, I want the cell to wrap, and rows to be autosized

14 Mar 2012, 11:29 PM
Normally I do that with the RowBody feature, so the longer text wraps underneith the columns & it looks nicer.

See the wrapping text on the paging example -


And the comments here -

http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.feature.RowBody (http://docs.sencha.com/ext-js/4-0/#%21/api/Ext.grid.feature.RowBody)