Dynamically change gridOptions columnDefs
问题 In the following plunkr I want the Gender dropdown filter to be populated dynamically by the ajax call, but it doesn't appear to work. plunkr link If I comment out line 17 $scope.newSelectOptions=[{"value":"New Item 1","label":"New Item 1"},{"value":"New Item 2","label":"New Item 2"},{"value":"New Item 3","label":"New Item 3"},{"value":"New Item 4","label":"New Item 4"}]; it works like I would like (just simulating it), but what appears to happen is that the ajax call populates the variable