设置Grid某列的Title样式和列内数据样式
生活随笔
收集整理的這篇文章主要介紹了
设置Grid某列的Title样式和列内数据样式
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
//列標(biāo)題居中
headerAttributes: {
????"class": "table-header-cell",
????style: "text-align: center;"
},
//列數(shù)據(jù)居左
attributes: {style: "text-align:left;"},
//列數(shù)據(jù)過長(zhǎng)時(shí),不換行,簡(jiǎn)略為 " ... "
attributes: {style: "white-space:nowrap;text-overflow:ellipsis;"},
?
轉(zhuǎn)載于:https://www.cnblogs.com/chengshixiaonongming/p/10372740.html
總結(jié)
以上是生活随笔為你收集整理的设置Grid某列的Title样式和列内数据样式的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 对 2018 年 AI 发展预言全中,他
- 下一篇: Python--day43--增删改查补