设置Grid某列的Title样式和列内数据样式

//列标题居中

headerAttributes: {

    "class": "table-header-cell",

    style: "text-align: center;"

},

//列数据居左

attributes: {style: "text-align:left;"},

//列数据过长时,不换行,简略为 " ... "

attributes: {style: "white-space:nowrap;text-overflow:ellipsis;"},

 

posted on 2019-02-14 09:12  城市小农民  阅读(217)  评论(0编辑  收藏  举报

导航