PDA

View Full Version : Fields call disable but the page show in projector can't see clean



xuefli
29 Mar 2012, 1:54 AM
when We need to disable all Fields in Form,we always get All Fields in the Form and iterator call disable() on every Fileds but when the page show by projector, the content can't see clean.

my idea is call removeCls('x-item-disabled') after call disable().

do you have another better solution?:-/

mitchellsimoens
29 Mar 2012, 7:28 AM
You can change the disabledCls config on the forms so when you disable the form, the new class (or empty for no class) will be used instead of the default 'x-item-disabled'