[CLOSED] Combobox ReadOnly property works differently from CodeBehind and JavaScript

  1. #1

    [CLOSED] Combobox ReadOnly property works differently from CodeBehind and JavaScript

    If I set the readonly property from Code Behind: The arrow appears disabled and the text are is also not editable.


    But if I set readOnly from java script: The text area is editable and the arrow appears to be enabled though it's not.


    How can I make it work the same way it works from Code Behind
    Last edited by Daniil; Nov 07, 2014 at 10:39 AM. Reason: [CLOSED]
  2. #2
    Hi @Maitreya,

    In JavaScript you should use the setReadOnly method.
    http://docs.sencha.com/extjs/4.2.1/#...od-setReadOnly
    field.setReadOnly(true);

Similar Threads

  1. Replies: 4
    Last Post: Apr 04, 2014, 9:16 PM
  2. Readonly Property
    By vivekrane1986 in forum 1.x Help
    Replies: 2
    Last Post: Sep 14, 2010, 6:08 AM
  3. Replies: 0
    Last Post: Apr 02, 2010, 7:06 PM
  4. readonly property
    By maxdiable in forum 1.x Help
    Replies: 0
    Last Post: Jan 21, 2010, 11:51 AM
  5. ReadOnly fileds value not reaching to codebehind
    By n_s_adhikari@rediffmail.com in forum 1.x Help
    Replies: 1
    Last Post: Sep 05, 2009, 4:17 PM

Posting Permissions