Dynamic menu component is using a ‘Ext.data.TreeStore‘ to create the content. It can be used for localization and/or to allow users different actions depend on permissions. On store reload it will change the internal menu structure. I have implemented simple filter feature to show the the dynamic nature.

To implement different menu items depend on server response or change the current menu item config you will have to edit the ‘app.ux.button.DynamicMenu::createMenuItem(record)’ method.

The fiddle example.