OptLog.initColumn = function () {
return [
{field: 'selectItem', radio: true},
{title: 'id', field: 'id', visible: false, align: 'center', valign: 'middle',
cellStyle: function (value, row, index) {
return {css: {"overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap"}}
}
},
{title: '日志类型', field: 'logtype', align: 'center', valign: 'middle', sortable: true,
cellStyle: function (value, row, index) {
return {css: {"overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap"}}
}
},
{title: '日志名称', field: 'logname', align: 'center', valign: 'middle', sortable: true,
cellStyle: function (value, row, index) {
return {css: {"overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap"}}
}
},
// {title: '用户名称', field: 'userName', align: 'center', valign: 'middle', sortable: true, sortName: 'userid'},
{title: '用户名称', field: 'userName', align: 'center', valign: 'middle',
cellStyle: function (value, row, index) {
return {css: {"overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap"}}
}
},
{title: '类名', field: 'classname', align: 'center', valign: 'middle', sortable: true,
cellStyle: function (value, row, index) {
return {css: {"overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap"}}
}
},
{title: '方法名', field: 'method', align: 'center', valign: 'middle', sortable: true,
cellStyle: function (value, row, index) {
return {css: {"overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap"}}
}
},
{title: '时间', field: 'createtime', align: 'center', valign: 'middle', sortable: true,
cellStyle: function (value, row, index) {
return {css: {"overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap"}}
}
},
{title: '具体消息', field: 'message', align: 'center', valign: 'middle', sortable: true,
cellStyle: function (value, row, index) {
return {css: {"overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap"}}
}
}];
};
BootStrap单元格内容强制不换行,下拉条格式
猜你喜欢
转载自blog.csdn.net/LuckFairyLuckBaby/article/details/92762853
今日推荐
周排行