View Full Version : Displaying whole text
LuckyBlade
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.
mitchellsimoens
14 Mar 2012, 11:22 AM
You want the cell to wrap or something?
LuckyBlade
14 Mar 2012, 7:06 PM
Yes, I want the cell to wrap, and rows to be autosized
Erikvip
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 -
http://dev.sencha.com/deploy/ext-4.0.1/examples/grid/paging.html
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)
Powered by vBulletin® Version 4.2.3 Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.