Search Type: Posts; User: thor612

Search: Search took 0.02 seconds.

  1. Well, if you need this in more places, you'll maybe wanna override Ext.menu.Menu's constructor instead:


    Ext.menu.Menu.prototype.constructor = function(cfg) {
    if (Ext.isArray(cfg)) {
    ...
  2. Yes, but I think they forgot to convert it in constructor. And when parent (Ext.Container) is constructed with an array, it fails.
  3. I ran at the same problem, and my solution was in menu config (and I believe it will help you guys to).

    Instead of passing an array of menu items as a menu config, pass an item containing "items"...
Results 1 to 3 of 3