首页 > 其他 > 详细

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

时间:2019-02-14 10:24:15      阅读:228      评论:0      收藏:0      [点我收藏+]

//列标题居中

headerAttributes: {

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

    style: "text-align: center;"

},

//列数据居左

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

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

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

 

技术分享图片

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

原文:https://www.cnblogs.com/chengshixiaonongming/p/10372740.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!