Closed BanneCharlie closed 1 month ago
不能单独设置某一个单元格的宽度,可以按列设置。
const context = command.getRangeContext()
command.executeUpdateElementById({
id: context.tableElement.id,
properties: {
colgroup: [
{
width: 100
},
{
width: 90
},
{
width: 140
},
{
width: 100
}
]
}
})
What problem does this feature solve?
创建表格完成后,可自定义设置单元格的宽高数据, 无需拖拽的形式实现.
What does the proposed API look like?