Attribute usage of extjs controls

radio_fracas_IsForeignign.setVisible(false);
autoScroll : true,
collapsible : true,
titleCollapse : true, the
panel has a shrink property configuration. After the configuration is true, it is an upward arrow, which shrinks after clicking.
Call panel.collapse(true), you can perform the shrinking effect of the panel, panel.expand() is to expand ~

popable: true, the current property can only be read, cannot be operated Loaded in the

initial method, the default shrink
fieldset_approveone.collapse(false); //Contract one level allocation

var desc = new Ext.form.TextArea({
fieldLabel : 'Rejection reason',
width : 892,
disabled : true,
id : 'desc',
name : 'desc',
vtype : 'allowmaxbytes',
maxBytes : 1500
});
desc.reset(this); //required to clear the reason for
refusal desc.setDisabled(true); //the reason for refusal becomes unfillable

//settings cannot be edited
blueprint_year.hideTrigger = true;
blueprint_year.cls = 'readonly-field';

   fs_blueprint_year.reset(); //reset the current space
   fs_blueprint_year.destroy.(); //destroy the current control
    if (dealy == '0'){
       fs_blueprint_year.show();//Show
       fs_entrucking_year.show();//Hide
       fs_exemplar_year.show();//Hide
    }else{
       fs_blueprint_year.hide();//Hide
       fs_entrucking_year.hide();//Hide
       fs_exemplar_year. hide();//hide
    }

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326594165&siteId=291194637