EagleFox
EagleFox

Reputation: 1367

extjs4 radioGroup setReadOnly

Is there a way to set a radioGroup as read only. I tried disabled: true, but this creates a mask over the radioGroup which makes it practically unreadable. Any idea on how to set extjs radioGroup as readOnly please?

I'd also consider using the disabled feature if there was a way to get the masking off of the radioGroup.

UPDATE - Tried this in css using disabledCls. But it's either too dark or too white

.custom-disabled
{
   opacity: 0.1; // tried 0.9
}

Upvotes: 2

Views: 1381

Answers (1)

Wilk
Wilk

Reputation: 8113

You can change the CSS class with disabledCls property, if you don't like the default: try with x-form-field

Upvotes: 3

Related Questions