1. #1
    Sencha Premium Member sencha-dev2's Avatar
    Join Date
    Jun 2012
    Location
    France
    Posts
    59
    Answers
    2
    Vote Rating
    0
    sencha-dev2 is on a distinguished road

      0  

    Question Answered: Disabled container

    Answered: Disabled container


    Hi, I disable a container to enforce the user to click on modify button before changing content, but I don't want the container style to look disabled (hard to read when so). I tried to set

    Code:
    disabled: true,
    disabledCls: '' // I also tried disabledCls: 'x-container'
    The container still looks disabled. How can I do ?

    Thanks for help

  2. You can use disabledCls config to give "opacity: 1" for only selected item .

  3. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,332
    Answers
    124
    Vote Rating
    83
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi dev2,

    Try to over ride CSS class-
    Code:
    .x-item-disabled {
        opacity: 1;  
    }
    .x-mask {
        background: none !important;
    }
    See sample working example - http://jsfiddle.net/rEGyt/
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  4. #3
    Sencha Premium Member sencha-dev2's Avatar
    Join Date
    Jun 2012
    Location
    France
    Posts
    59
    Answers
    2
    Vote Rating
    0
    sencha-dev2 is on a distinguished road

      0  

    Default


    Thanks for help, though I want this to happen only in this case, so how can I configure it without applying changes on all disabled items ?

  5. #4
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,332
    Answers
    124
    Vote Rating
    83
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    You can use disabledCls config to give "opacity: 1" for only selected item .
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  6. #5
    Sencha Premium Member sencha-dev2's Avatar
    Join Date
    Jun 2012
    Location
    France
    Posts
    59
    Answers
    2
    Vote Rating
    0
    sencha-dev2 is on a distinguished road

      0  

    Default


    Sorry again, I just can find out how to do this... I'm not really used to this framework, so some things apparently simple can be hard for me... Could you give me an example ?

    The sample you provided did not help me...

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar