快捷搜索:

ext gridPanel 行选择事件

//订单表的行选定事故getSelected()

orderSm.on('rowselect' , function(selectCmd, rowIndex, record){

orderItemDs.proxy=new Ext.data.HttpProxy({

url:'/govt_stockV1.0/organiseManager/AJAXDogetOrderItemByOrderId.action?orderId='+record.get('orderId')

});

orderItemDs.load({params:{start:0,limit:orderItemPageSize}});

});

var orderSm = new Ext.grid.RowSelectionModel();//订单表的sm

您可能还会对下面的文章感兴趣: