easyui editor 绑定onchang事件 5
{title:'XXX',field:'goodNumber',width:100,sortable:true,editor:{type:'numberbox',opti...
{title:'XXX',field:'goodNumber',width:100,sortable:true,
editor:{type:'numberbox',options:{precision:0}}
},
我想在editor中绑定onchang事件求大神帮忙 我用http://www.2cto.com/kf/201208/147486.html的办法试了下
priceEditor.target.bind('change', function(){
calculate();
}); 到这里就不好使了,无法绑定
嘿嘿 已解决 展开
editor:{type:'numberbox',options:{precision:0}}
},
我想在editor中绑定onchang事件求大神帮忙 我用http://www.2cto.com/kf/201208/147486.html的办法试了下
priceEditor.target.bind('change', function(){
calculate();
}); 到这里就不好使了,无法绑定
嘿嘿 已解决 展开
1个回答
2015-04-11
展开全部
var width = $(window).width()-80;
var height = $(window).height()-120;
stView_layout = $('#stView_layout').layout({
width: width,
height: height
});
station_view = $('#stationView').window({
title: '测站导航',
left:50,
top:80,
width: width,
modal: false,
shadow: false,
closed: true,
height: height,
onResize:function(w,h){
if(stView_treegrid){
stView_treegrid.treegrid({
width:w-20,
height:h-260
});
}
}
});
var height = $(window).height()-120;
stView_layout = $('#stView_layout').layout({
width: width,
height: height
});
station_view = $('#stationView').window({
title: '测站导航',
left:50,
top:80,
width: width,
modal: false,
shadow: false,
closed: true,
height: height,
onResize:function(w,h){
if(stView_treegrid){
stView_treegrid.treegrid({
width:w-20,
height:h-260
});
}
}
});
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询