[CLOSED] SelectBox Question : Can the width expand dynamically to show the whole value (image attached)?

  1. #1

    [CLOSED] SelectBox Question : Can the width expand dynamically to show the whole value (image attached)?

    Click image for larger version. 

Name:	selectbox.jpg 
Views:	68 
Size:	21.6 KB 
ID:	3223

    My requirement is:

    (1) The width of the SelectBox will be static (please refer to A).
    (2) The items of the SelectBox will be shown as whole and without ellipsis (the width of the item section can dynamically expand wider than the top part). (please refer to B).
    (3) The SelectBox is in the left side of a ViewPort, the item should expand across the right (always on top).

    Is this possible? I tried MinWidth but I need the SelectBox to have specific width but the items to be dynamic.

    Something like this (sorry for the quality, I used an image editor to patch what I mean).
    Click image for larger version. 

Name:	selectbox2.jpg 
Views:	66 
Size:	20.5 KB 
ID:	3224

    Thanks.
    Last edited by Daniil; Sep 22, 2011 at 7:53 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Unfortunately, there is no such functionality to automatically manage width of a list.

    But you can set static width by the .ListWidth property.
  3. #3
    Thanks. I tried ListWidth but somehow its not working. Since this is not a primary requirement, I will have to come back to this later instead.

    As the original question has been answered, please close this ticket.

    Thanks, J
  4. #4
    Please feel free to continue the thread.
  5. #5
    Quote Originally Posted by Daniil View Post
    Hi,

    Unfortunately, there is no such functionality to automatically manage width of a list.

    But you can set static width by the .ListWidth property.
    What happened to ListWidth? Is there anything like that for a SelectBox?
  6. #6
    Please use a SelectBox's ListConfig.
    <ext:SelectBox runat="server">
        <ListConfig Width="200" />
    </ext:SelectBox>

Similar Threads

  1. [CLOSED] ext:Image - How I can show a menu when click in ext:Image?
    By supera in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 10, 2012, 8:56 PM
  2. [CLOSED] Setting IconCls property of a SelectBox does not show icon
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 22, 2011, 11:47 PM
  3. [CLOSED] SelectBox width in toolbar
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 06, 2011, 3:06 PM
  4. [CLOSED] Anchored SelectBox drop down is not right width
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 17, 2009, 9:20 AM
  5. [CLOSED] Image Width
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Apr 21, 2009, 5:50 PM

Posting Permissions