力のセルの内容ブートストラップ、プルダウンストリップフォーマットをラップしません。

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"}}
            }
        }];
};

 

おすすめ

転載: blog.csdn.net/LuckFairyLuckBaby/article/details/92762853