Results 1 to 2 of 2

Thread: z-index of ComboBox list vs z-index of Ext.menu.Menu

  1. #1
    Ext JS Premium Member christocracy's Avatar
    Join Date
    Oct 2006
    Location
    Montreal
    Posts
    381

    Default z-index of ComboBox list vs z-index of Ext.menu.Menu

    I've extended Ext.menu.Menu with a class called menu.Popup.
    I've made myself an extension of Ext.menu.BaseItem called menu.FormItem.

    when I render forms onto Popup, ComboBox's list is z-indexed below the the Menu.

    ComboBox's list z-index is 11000
    Menu is 15000.

    I wonder what I might do to solve this.

    following works per Combo but that's not a good long-term sol'n
    Code:
    /***
    		 * @event render
    		 * fix the list's z-index
    		 * Combos on a Popup need special attention paid to their list, which is z-indexed at 11000 while
    		 * the popup is z-indexed at 15000.
    		 * @param {Object} combo
    		 */
    		comboCompany.on('render', function(combo) {
    			combo.list.setZIndex(16000);
    		});

  2. #2
    Ext User
    Join Date
    Aug 2008
    Location
    Cluj-Napoca, Romania
    Posts
    15

    Default

    this didn't work for me on ext 2.2 but I managed to make it work using the 'expand' event instead of 'render'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •