[CLOSED] Combobox readonly

  1. #1

    [CLOSED] Combobox readonly

    Hi,

    is it possible to set the combobox readonly, but not the triggerbutton?

    gidi
    Last edited by Daniil; Feb 29, 2012 at 3:31 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please set up Editable="false".
    http://docs.sencha.com/ext-js/3-4/#!...d-cfg-editable
  3. #3
    Thanks, but the problem is, if i set the combobox readonly, i can't selected items, but i can't also click the trigger button.
    If i set the combobox editable = false, i can select items und can click the trigger button.

    I don't want to select items, i only want to click the trigger button.

    gidi
  4. #4
    I can suggest this ComboBox BeforeSelect listener:
    <BeforeSelect Handler="return false;" />
    See also
    http://docs.sencha.com/ext-js/3-4/#!...t-beforeselect
  5. #5
    thanks Daniil , it works :-)

    in codebehind (vb)

    .Listeners.BeforeSelect.Handler = "return false;"
    gidi
    Last edited by Daniil; Feb 29, 2012 at 3:31 PM. Reason: Please use [CODE] tags

Similar Threads

  1. [CLOSED] How to show "combobox arrow" after readOnly = false?
    By mcfromero in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 19, 2012, 3:20 AM
  2. [CLOSED] Readonly issue
    By cihoric in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Sep 30, 2011, 9:33 AM
  3. [1.0] Combobox ReadOnly properties Bug
    By andylaiyongsing in forum 1.x Help
    Replies: 1
    Last Post: May 28, 2010, 6:58 AM
  4. [CLOSED] [1.0] Html with ReadOnly under IE8
    By tdracz in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 18, 2010, 7:34 AM
  5. [CLOSED] ComboBox and DateField as readonly
    By Sharon in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 12, 2009, 9:05 AM

Posting Permissions