Filter.FieldId(属性)
说明
可读 获取单条筛选记录的字段 ID
返回值
String
浏览器环境示例
javascript
async function example() {
await instance.ready();
const app = instance.Application;
const filters = await app.Sheets(1).Views(1).Filters;
const fieldId = filters.Item(1).FieldId;
}
脚本编辑器 示例
javascript
function main() {
const filters = Application.Sheets(1).Views(1).Filters;
const fieldId = filters.Item(1).FieldId;
}
main();