[CLOSED] combobox editable=false without cursor

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] combobox editable=false without cursor

    Last edited by Daniil; Dec 18, 2012 at 5:45 AM. Reason: [CLOSED]
  2. #2
    Please let me know whether the following example helps you

    <!DOCTYPE html>
    <html>
    <head runat="server">
        <style type="text/css">
            .changeCursor .x-trigger-noedit
            {
                cursor: default !important;
            }
        </style>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        <ext:ComboBox Editable="false" Cls="changeCursor" runat="server">
            <Items>
                <ext:ListItem Text="ext" />
                <ext:ListItem Text="net" />
                <ext:ListItem Text="ext.net" />
            </Items>
        </ext:ComboBox>
    </body>
    </html>
  3. #3
  4. #4
    In the following example the cursor is hidden when the mouse is over the ComboBox's TextBox
    <!DOCTYPE html>
    <html>
    <head id="Head1" runat="server">
        <style type="text/css">
            .changeCursor .x-trigger-noedit
            {
                cursor: none !important;
            }
        </style>
    </head>
    <body>
        <ext:ResourceManager ID="ResourceManager1" runat="server" />
        <ext:ComboBox ID="ComboBox1" Editable="false" Cls="changeCursor" runat="server">
            <Items>
                <ext:ListItem Text="ext" />
                <ext:ListItem Text="net" />
                <ext:ListItem Text="ext.net" />
            </Items>
        </ext:ComboBox>
    </body>
    </html>
    If this is not your case, please specify in which region(s) you want to hide the icon
  5. #5
  6. #6
    Hi everybody,

    Well, not editable ComboBox is still focusable.

    I doubt there is a good way to prevent focusing, but, maybe, you could blur it after focusing. Something like:

    Example
    <Focus Handler="if (!this.editable) {
                        this.blur();
                    }"
           Delay="100" />
  7. #7
    Hi Daniil!

    I wish (my boss want, in really) that the component get the focus because the user needs select a value in a list... only hide the text cursor

    But, not a problem... forget it... thanks a lot.
  8. #8
    Please clarify did you try my suggestion? Seems it behaves as you need.
  9. #9
    Hi Daniil!!!!

    I tryed follow your suggestion... when i click in combobox field, the text cursor still blinking (and I wish hide this cursor).
    I made this in listener 'focus', in client side.

    But, not a problem!!! Sorry boring you with this minim thing!!!
  10. #10
    We would be happy to investigate a sample if you could provide.
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 6
    Last Post: Dec 19, 2012, 6:33 PM
  2. [CLOSED] V2.0 ComboBox Editable
    By Aurelio in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 23, 2012, 10:37 AM
  3. [CLOSED] How to remove the cursor from non-editable comboboxes
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 23, 2011, 1:40 PM
  4. Replies: 2
    Last Post: Nov 09, 2011, 5:00 AM
  5. Editable grid with Combobox
    By dtamils in forum 1.x Help
    Replies: 0
    Last Post: Jun 23, 2011, 7:36 AM

Posting Permissions