PDA

View Full Version : ExtJS 4.2.1.883 Ext.Viewport not fired afterlayout event



Ilay
27 Nov 2013, 11:57 PM
Ext version tested:

Ext 4.2.1.883
Browser versions tested


IE8
Description:



Ext.define("Myapp.view.Viewport", { extend: "Ext.Viewport",
alias: "widget.Viewport",
listeners: {
afterlayout: function(v, layout, eOpts) {
//this function not calls
}
}
//.....

In general application works good and i see viewport, but afterlayout listener not been called.

lee2013
28 Nov 2013, 12:02 AM
why cancel treeloader??? why???

vasiliy@b-hit.pro
28 Nov 2013, 12:12 AM
why cancel treeloader??? why???
lee2013 (http://www.sencha.com/forum/member.php?648799-lee2013) , your comment not makes any sense. What you meant

Gary Schlosberg
2 Dec 2013, 10:59 AM
I created a Fiddle with a pared down version of the Viewport example.
https://fiddle.sencha.com/#fiddle/1t8

Does the afterlayout event not fire for you in this example?