-
25 Sep 2012 4:25 AM #1
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
The container still looks disabled. How can I do ?Code:disabled: true, disabledCls: '' // I also tried disabledCls: 'x-container'
Thanks for help
-
Best Answer Posted by sword-it
You can use disabledCls config to give "opacity: 1" for only selected item .
-
25 Sep 2012 5:35 AM #2Sencha - Community Support Team
- Join Date
- May 2012
- Location
- Istanbul
- Posts
- 1,331
- Vote Rating
- 77
- Answers
- 124
Hi dev2,
Try to over ride CSS class-
See sample working example - http://jsfiddle.net/rEGyt/Code:.x-item-disabled { opacity: 1; } .x-mask { background: none !important; }sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
-
25 Sep 2012 6:05 AM #3
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 ?
-
25 Sep 2012 6:09 AM #4Sencha - Community Support Team
- Join Date
- May 2012
- Location
- Istanbul
- Posts
- 1,331
- Vote Rating
- 77
- Answers
- 124
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.
-
25 Sep 2012 6:39 AM #5
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...


Reply With Quote