ViewShare.EditableRecType(属性)
说明
可读 返回当前分享视图高级权限中,可编辑的记录范围
返回值
浏览器环境示例
javascript
async function example() {
await instance.ready();
const app = instance.Application;
const viewShare = await app.Sheets(1).Views(1).ViewShare;
// read
const visible = await viewShare.EditableRecType;
// write
viewShare.EditableRecType = 'Self';
}
脚本编辑器 示例
javascript
function main() {
const viewShare = Application.Sheets(1).Views(1).ViewShare;
// read
const visible = viewShare.EditableRecType;
// write
viewShare.EditableRecType = 'Self';
}
main();