Results 1 to 3 of 3

Thread: Disabling Panel

  1. #1

    Default Disabling Panel

    I'm trying to disable panel, don't know what am I missing. I tried this in extjs example where it works by disabling all fields in panel (what I'm trying to achieve).

    https://fiddle.sencha.com/?extreact#...or&fiddle/23lt

  2. #2
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482
    Answers
    114

    Default

    Looks like disabling a panel doesn't have any noticeable affect. If you use a FormPanel instead, setting disabled will disable all form fields, such as TextField, CheckBoxField, etc... but it won't disable other things like buttons. I suggest adding a disabled key to your component state or props and applying it to each field or button individually.

  3. #3
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482
    Answers
    114

    Default

    You might also try the masked prop, which places a semi-opaque mask over the panel. Maybe that's more like what you're looking for?

    For example:

    Code:
    <Panel masked>...</Panel>

Similar Threads

  1. Disabling a node in ExtJs 4.1 Tree Panel
    By webfriend13 in forum Ext: Q&A
    Replies: 3
    Last Post: 27 Aug 2013, 7:03 AM
  2. Collapsed panel - Disabling the expansion button
    By awhiteho in forum Ext: Q&A
    Replies: 2
    Last Post: 6 Feb 2013, 6:31 AM
  3. Replies: 1
    Last Post: 17 Sep 2012, 8:44 AM
  4. Disabling fields on disabled panel
    By alex007 in forum Ext: Q&A
    Replies: 0
    Last Post: 1 Apr 2011, 8:07 AM
  5. Disabling the double click on the panel
    By paweluz in forum Ext 3.x: Help & Discussion
    Replies: 11
    Last Post: 28 Oct 2010, 7:10 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •