hwaggLee

1.

    var formEach  = win.down(\'form\').items.items;
    Ext.each(formEach,function(item){
        console.log(item);
        //item.setReadOnly(true);
        item.setDisabled(true);
        //item.readOnly = true;
        item.fieldStyle = \'background:#E6E6E6\';
    }); 

 

 

2.

var form = getWinForm(grid);
form.items.each(function(items) {
         items.items.each(function(item) {
                     console.log(item);
                     //item.setReadOnly(true);
                     item.readOnly = true;
                      item.fieldStyle = \'background:#E6E6E6\';
           });
}); 

 

3.

 win.down(\'form\').setDisabled(true);

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
相关资源
相似解决方案