Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha - Community Support Team mschwartz's Avatar
    Join Date
    Nov 2008
    Location
    San Diego, Peoples' Republic of California
    Posts
    2,053
    Vote Rating
    17
    mschwartz will become famous soon enough mschwartz will become famous soon enough

      0  

    Default Render issue with MultiSelect and ItemSelector

    Render issue with MultiSelect and ItemSelector


    It seems the ListView it creates is too tall.

    In the left multiselect, I have 14 items, but only 13 are visible. There's no scrollbar, and if I click/drag just below the 13th, I can drag out the 14th item to the right selector.

    If there are 99 items, there is a scrollbar, but you can only scroll it so the 98th is the visible one at the bottom, and the click/drag thing works to drag the 99th.

    The proper behavior is to have a scrollbar so you can scroll down to see the 14th item.

    I found that modifying MultiSelect.js as follows resolves the issue.

    Code:
    onRender: function(ct, position) {
    ...
            this.view = new Ext.ListView({
                height: this.height-16,
                multiSelect: true,
                store: this.store,
                columns: [{ header: 'Value', width: 1, dataIndex: this.displayField }],
                hideHeaders: true
            });
    I didn't see a bug report for this issue.

    I'm using ExtJS 3.2.1

  2. #2
    Sencha User
    Join Date
    Dec 2008
    Location
    France
    Posts
    244
    Vote Rating
    0
    senacle is on a distinguished road

      0  

    Default


    Same issue.

    In the multiselect.js, i've changed :
    Code:
    height: this.height
    to
    Code:
    height: this.height-37
    and it works for all multiselect fields i use.

Similar Threads

  1. Ext.ux.Multiselect/ItemSelector [v2.2]
    By tjstuart in forum Ext 1.x: User Extensions and Plugins
    Replies: 158
    Last Post: 4 Sep 2014, 8:25 PM
  2. [2.0] Ext.ux.Multiselect/ItemSelector v3.0
    By tjstuart in forum Ext 2.x: User Extensions and Plugins
    Replies: 273
    Last Post: 11 Nov 2011, 5:48 AM
  3. [2.x] Ext.ux.Multiselect/ItemSelector
    By vtswingkid in forum Ext 2.x: User Extensions and Plugins
    Replies: 27
    Last Post: 22 Jun 2010, 11:24 AM
  4. MultiSelect with ItemSelector
    By Romantik in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 18 Aug 2009, 3:12 AM
  5. Multiselect/ItemSelector
    By ajatib in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 25 Apr 2009, 4:31 AM

Thread Participants: 1