ExtJS, query component

  1.  dodaj itemId u config komponenete
  2.  koristi Ext.ComponentQuery.query
itemId: 'main-map-panel',
...
var map_panel = Ext.ComponentQuery.query('#main-map-panel')[0]
...

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.