Sep 18, 2013, 11:47 AM
Add menu item using client side code
Hello, I'm using the code bellow to add an item to a menu without the need to run a directmethod however I'm not sure how to add a click listener, image and the index to the menu item, when I add it it always goes to the bottom of the menu list.
Any help is much appreciated.
Any help is much appreciated.
Ext.getCmp('mnuComponent').add({text:'test'})