Skip to content
开发文档
能力中心
应用市场
WebOffice
开发者后台

Criteria (对象)

说明

筛选条件项

属性

浏览器环境示例

javascript
async function example() {
 await instance.ready();
 const app = instance.Application;
 const filters = await app.Sheets(1).Views(1).Filters;
 const criteria = filters(1).Criteria;
 console.log(criteria.Field)
 console.log(criteria.Op)
 console.log(criteria.Values)
 }

脚本编辑器示例

javascript
function main() {
 const filters = Application.Sheets(1).Views(1).Filters
 const result = filters(1).Criteria
 console.log(result.Field)
 console.log(result.Op)
 console.log(result.Values)
 }
main()
回到旧版