Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 listGrid 里面有一些数据。此外,我以编程方式过滤数据(即使用 filterData 方法)。现在我想显示过滤器值,我以编程方式设置,对用户可见。换句话说,我想在过滤框中显示值。可能吗?如果是,我该怎么做?
提前致谢。
您可以通过以下方式设置 FilterEditor 的内容
listGrid.setFilterEditorCriteria(myCriteria);
请注意,myCriteria 的 OperatorId 必须与分配给 listGrid 字段的 OperatorId 匹配(请参阅 ListGrid.setFilterOperator)。