extjs - Ext JS Component - When can I manipulate the DOM? -


I'm trying to reuse some code to return a component to its initial position so that my Close is a reset () function that calls the update () function with the default parameter.

Everywhere I try, I'm trying to reach the DOM elements, results in the null - and this is not the code as I tested it after page presentation via page event. It seems that initComponent () is very fast, so I've noticed subscribing to events.

Seeing the events of Ext.Component , only one seems appropriate Render Event: "After the component markup, the fire is set. "

Again, I get a null reference. I am not keen to use it because I really want to use render, not to it being sung again, its only once (init after / after), but it can be said again.

When / We want to access the DOM of component on initialization?

Here's the square:

  Ext.define ('PegfileApp' View.ContentHeader ', extension:' Expand panel ', nickname:' Widget Content Header ', ID: 'Content header', // layout limit: 1, html: "\  


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -