View.Groups(属性)
说明
可读 获取指定视图下面的分组列表
返回值
Groups
浏览器环境示例
javascript
async function example() {
await instance.ready();
const app = instance.Application;
const view = await app.Sheets(1).Views(1);
const groups = await view.Groups;
}
脚本编辑器 示例
javascript
function main() {
const view = Application.Sheets(1).Views(1);
const groups = view.Groups;
}
main()