PDA

View Full Version : Wrap text make incorrect grid portlet after resized browser



earist
17 Jul 2012, 2:05 AM
Hi, all
I created portlet with grid panel like attached file (portal.zip)
I added css for word wrap text in grid column like following code



.x-grid-cell-inner
{
white-space:normal !important;
}


But when I resized (restored down), the browser the portlet was resized with missing data.
And when I restored the broswer, the portlet was restored with incorrect height.


Picture 1 : Browser in normal size. Portlet was diplayed correctly.
37220
Picture 2 : Browser was resized. Portlet was resized too. But some data in fifth row and the last row were missing

37221

Picture 3 : Browser was restored. Portlet was restored but its height was incorrect.
37219


Anyone have any idea?

Thank in advance.
earist

scottmartin
17 Jul 2012, 2:11 PM
Are you using 4.1.1 GA?
The 2nd image seems to be an issue with wrapping text below .. cell is not expended

Scott.

earist
17 Jul 2012, 4:57 PM
Hi, Scott.
I using ExtJs 4.0.7

scottmartin
17 Jul 2012, 4:59 PM
There were several issues related to portal resizing in ExtJS 4.07. These have been corrected in 4.1.1.

Scott.

earist
17 Jul 2012, 6:36 PM
I cannot update to 4.1.1.
Do you have any solution for 4.0.7?

earist.

scottmartin
17 Jul 2012, 6:51 PM
The fix for this is 4.1 ..

4.07 simply has too many layout issues.
It is highly recommended that you update for many other reasons as well as this problem.

Scott.