jQuery MiniUI

标题: drawcell 绘制表格时不能获取已隐藏的列吗? [打印本页]

作者: 凌雪    时间: 2016-5-6 17:31:19     标题: drawcell 绘制表格时不能获取已隐藏的列吗?

有个字段不能显示, 设置了visible="false", 在下面这个方法里, 获取不到那个隐藏列
grid.on("drawcell", function(e){
                    column = e.column,
                    field = e.field,
                    value = e.value;
                    if(field=="idel" && value ){
                             e.rowStyle = "text-decoration:line-through;color:red;";
                    }
            });


作者: dforce    时间: 2016-5-6 17:42:29

你这些代码里面我看不出来column要做什么




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2