事件线颜色跟随字段
CalendarView.TimelineColorFollowField(属性)
说明
可读写
事件线颜色跟随字段,值为字段Id。
返回值
String
浏览器环境示例
javascript
async function example() {
await instance.ready();
const app = instance.Application;
const view = await app.Sheets(1).Views(1);
console.log(view.TimelineColorFollowField);
view.TimelineColorFollowField = 'E';
}
脚本编辑器 示例
javascript
function main() {
const view = Application.Sheets(1).Views(1);
console.log(view.TimelineColorFollowField);
view.TimelineColorFollowField = 'E';
}
main();