0
我在运行时通过用户交互设置列过滤器时遇到问题。这里是我的尝试:运行时的角度UI网格集滤镜
http://plnkr.co/edit/Ynesaq5o3HNsF5r8rXQf?p=preview
$scope.setFilter = function() {
$scope.gridApi.grid.columns[1].filters[0] = {
condition: uiGridConstants.filter.EXACT,
placeholder: '',
term: 'female'
};
$scope.gridApi.core.notifyDataChange(uiGridConstants.dataChange.ALL);
$scope.gridApi.grid.refresh();
}
字段设置和术语被添加到现场,但该数据没有刷新。
任何想法?