$scope.filterOptions = {
filterText: "",
useExternalFilter: false
};
$scope.gridOptions = {
data: 'myData' ,
filterOptions: $scope.filterOptions,
showFilter: false,
},
columnDefs: [
{field:'firstName', displayName:'First'},
{field:'lastName', displayName:'Last'},
{field:'department', displayName:'Department'},
{field:'location', displayName:'Location'},
{
field:'xmppStatus',
displayName:'Status',
cellTemplate: 'cellTemplate_status.html'
},
]
};
This is my code. i want to filter only firstname and last name. and the table data's are from json files.