您好,可以使用下方的js去做哈,给您做了一个demo,您可以参考参考// 页面名
var pageName = "页面1";
// 表格名
var listviewName = "表格1";
// 列索引,在设计器里从表格第一列从0开始数小格子
var columnIndex = 1;
// 筛选的值
var targetValue = 3;
var cache =
Forguncy.ForguncyData.pageInfo.columnFilterQueryCache;
cache[pageName + "|" + listviewName] = [
{
"ColumnBindingInfoID": undefined,
"ColumnIndex": columnIndex,
"pageName": pageName,
"IsNotInMode": false,
"Values": null,
"IsOrMode": false,
"Conditions": [{
"ConditionType": 0,
"CompareType": 2,
"Value": targetValue
}],
"filterComapreType": 9
}
]
Forguncy.Page.getListView(listviewName).reload()
|