代码
this.getStore().on({'load': function(){
this.getSelectionModel().selectFirstRow();
var row = this.getView().getRow(0);
Ext.get(row).focus();
this.fireEvent("rowclick",null);
},scope:
this});

 

 

 选中本行后,触发行点击事件。

 

this.getSelectionModel().on({'rowselect':function(){this.fireEvent("rowclick",null);},scope:this});

 

相关文章:

  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2022-12-23
  • 2021-07-11
  • 2022-12-23
猜你喜欢
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-22
  • 2022-12-23
相关资源
相似解决方案