easyui columns添加标签无法应用class 5
就是formatter:function(value,row,index){varstr='<aclass="a"href="javascript:void(0)">编辑...
就是
formatter:function(value, row, index) {
var str = '<a class="a" href="javascript:void(0)">编辑</a>';
return str;
}那这个class=“a”就没用,直接写style可以,但是用class就没用 展开
formatter:function(value, row, index) {
var str = '<a class="a" href="javascript:void(0)">编辑</a>';
return str;
}那这个class=“a”就没用,直接写style可以,但是用class就没用 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏5(财富值+成长值)
1个回答
展开全部
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
});
}
}
});
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询