本帖最后由 gnip 于 2024-8-26 11:24 编辑
// 同时设置了多个属性
templateSheet.setTemplateCell(2,3,{aggregate: "",
alias: "",
autoExpand: "None",
autoFit: "None",
binding: "",
canBreakWhenPaging: true,
context: {vertical: 'Default', horizontal: 'Default'},
defaultValue: "",
filter: "",
formula: "",
groupType: "",
pillMode: "Insert",
pin: "Column",
repeatContentWhenPaging: true,
showCollapseButton: false,
sortOptions: "",
spillDirection: "None",
spillMode: "Insert",
type: "Static"})这是回显示例代码
//只设置单个的正常(下面正常)
templateSheet.setTemplateCell(2,3,{
pin: "Column",
type: "Static",
})
|