请问我在用EasyUI 的DataGrid组件时,为什么标题中用了半角字符,标题列跟数据列就对不齐了?
比如下面这样是正常的:
columns: [[
{ field: '主机设备', title: '设备类别', width: '150', align: 'center' },
{ field: '占比', title: '数量', width: '50', align: 'center' }
]],
改成这样就不正常了,下面数据部分跟上面的标题列对不齐了(表格线竖线对不齐),请问是怎么回事?
columns: [[
{ field: '主机设备', title: '设备类别', width: '150', align: 'center' },
{ field: '占比(%)', title: '数量', width: '50', align: 'center' }
]],
顺便提一下,跟fitColumns设置无关。