I have created a custom filter in AngularJs UI-grid.The filter is working fine with a single argument but when it comes to multiple values filter didn't work well.Please if any one knows how to pass multiple parameters into UI grid filter let me know.
AngularJs Filter Method
Filter will execute when button on click and redraw the grid according to user name.
$scope.filterData = function(userName) {
$scope.searchText = userName;
$scope.tableData.data = $filter('filter')
($scope.TestData,
$scope.searchText, undefined);
//how can i pass multiple param into filter like filtering based on user name and age
};