或者在 绑定列时有 公式参数吗?
var colInfos = [
{ name: "name", displayName: "Name", size: 70, pageBread: false},
{ name: "age", displayName: "Age", size: 40, resizable: false },
{ name: "birthday", displayName: "Birthday", formatter: "d/M/yy", size: 120 },
{ name: "position", displayName: "Position", size: 50, visible: true, value: function (item){
return 'China ' + item['position'];
}},
{ name: "isMarried", displayName: "IsMarried", size: 50, visible: true, cellType: new GC.Spread.Sheets.CellTypes.CheckBox()}
]; |