javascript - Getting children of component in ExtJS 3.3.3 -
javascript - Getting children of component in ExtJS 3.3.3 -
i'm puzzled how children of component in extjs 3.3.3. can fetch component way:
var comp = this.getcomponent('test'); this component contains bunch of div children. i've looked through documentation component object , can't find anything: http://docs.sencha.com/extjs/3.4.0/#!/api/ext.component . in more recent versions, can utilize componentquery, it's not nowadays in 3.3.3.
i'm idiot.
i can fetch , turn element way:
var test = ext.domquery.select('.test'); test = ext.get(test); // turns ext element instead of dom. var parent = test.parent(); javascript extjs extjs3
Comments
Post a Comment