问题
Grid表格的标题样式怎么设置?
解决方案
使用headerAttributes属性设置,如果有css中class属性,需要加双引号””.如
{
field: "name",
headerAttributes: {
"class": "table-header-cell",
style: "text-align: right; font-size: 14px"
}
}
问题
Grid表格的标题样式怎么设置?
解决方案
使用headerAttributes属性设置,如果有css中class属性,需要加双引号””.如
{
field: "name",
headerAttributes: {
"class": "table-header-cell",
style: "text-align: right; font-size: 14px"
}
}