[CLOSED] Multicombo list height

  1. #1

    [CLOSED] Multicombo list height

    Is it possible to set the height of the (dropdown) list of a Multicombo? Can't find an attribute like ListHeight for example..

    Martin
    Last edited by Daniil; May 17, 2013 at 3:26 PM. Reason: [CLOSED]
  2. #2
    Hi Martin,

    Please set up the following for the MultiCombo.
    <ListConfig Height="100" />
    See also
    http://docs.sencha.com/extjs/4.2.0/#...cfg-listConfig
  3. #3
    Sorry, have to open this thread :)

    Quote Originally Posted by Daniil View Post
    Hi Martin,

    Please set up the following for the MultiCombo.
    <ListConfig Height="100" />
    See also
    http://docs.sencha.com/extjs/4.2.0/#...cfg-listConfig
    Well, tried it, but the list is still 100% height:

    <%@ Page Language="C#" %>
    
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    
    <!DOCTYPE html>
    <html>
    <head id="Head1" runat="server">
        <title>Simple Array Grid - Ext.NET Examples</title>
     </head>
    <body>
        <ext:ResourceManager ID="ResourceManager1" runat="server" StateProvider="Cookie" />
        <ext:MultiCombo ID="MultiCombo1" runat="server" Width="260">
                <Items>
                    <ext:ListItem Text="Item 1" Value="1" />
                    <ext:ListItem Text="Item 2" Value="2" />
                    <ext:ListItem Text="Item 3" Value="3" />
                    <ext:ListItem Text="Item 4" Value="4" />
                    <ext:ListItem Text="Item 5" Value="5" />
                </Items>
                
                <SelectedItems>
                    <ext:ListItem Value="2" />
                    <ext:ListItem Index="4" />
                </SelectedItems>
            <ListConfig Height="30"/>
            </ext:MultiCombo>
    </body>
    </html>
    Martin
    Last edited by CarWise; May 21, 2013 at 7:06 AM.
  4. #4
    Bump :)

    Probably got lost in the bunch. Issue not solved..

    Martin
  5. #5
    Sorry, please use MaxHeight instead of Height.
    <ListConfig MaxHeight="30" />
  6. #6
    Quote Originally Posted by Daniil View Post
    Sorry, please use MaxHeight instead of Height.
    <ListConfig MaxHeight="30" />
    Thanks Daniil. Works like a charm

    Martin

Similar Threads

  1. Replies: 2
    Last Post: Apr 15, 2013, 7:46 AM
  2. Replies: 2
    Last Post: Mar 04, 2013, 12:47 PM
  3. Replies: 11
    Last Post: Mar 27, 2011, 5:26 PM
  4. Replies: 5
    Last Post: Dec 18, 2009, 9:50 AM
  5. Inconsistent height on div.x-combo-list-inner
    By dlouwers in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jan 14, 2009, 3:17 PM

Posting Permissions