提交 a792c216 编写于 作者: T taoqili

预览时去除表格框选样式

上级 e4ca4d9f
......@@ -2015,6 +2015,18 @@ UE.plugins['table'] = function () {
}
}
};
function resetTdWidth(table){
var tds = table.getElementsByTagName("td");
utils.each(tds, function (td) {
td.removeAttribute("width");
});
table.setAttribute('width', getTableWidth(me,needIEHack,getDefaultValue(me,table)));
setTimeout(function(){
utils.each(tds,function(td){
(td.colSpan ==1) && td.setAttribute("width",td.offsetWidth + "");
})
},0)
}
/**
* UE表格操作类
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册