ligerui grid 设置某一行高度

设置grid属性

fixedCellHeight:false

rowAttrRender: function (rowdata,rowid)
                    {
                            if(typeof(rowdata.value)=="string")
                             {
                                if(rowdata.value.indexOf('<img')>=0)
                               {
                                   return "style='height:200px'";
                               }
                             }
                            return "";
                    },

显示图片

在某一列使用render 返回img标签内容

 

posted on 2016-08-26 16:59  renshaoping  阅读(1321)  评论(0编辑  收藏  举报