-1

I wanted to ask about the definition of

Ext.getCmp('').root.reload();
Ext.getCmp('').getForm().reset();
Ext.getCmp('').focus(false, 500);
Ext.getCmp('').getSelectionModel().getSelectedNode();
Ext.getCmp('').getForm().setValues();
Ext.getCmp('').getSelectionModel().getSelectedNode();

and function of Ext.getCmp

1 Answers1

0

you can check: http://docs.sencha.com/ext-js/4-0/#!/api/Ext-method-getCmp

Also, getCmp is not recommended for the coding. But do helpful for the learning, debug and hack. I like this screencast: http://www.sencha.com/forum/showthread.php?109307-Screencast-quot-The-dangers

user650749
  • 182
  • 2
  • 13