title: For-loop inside filter method doesn't work as expected
body: <p>I am using <code>filter</code> method to filter out an array as follows:</p>
  <pre><code>this.gridOptions.api.setRowData(
      this.arrayToFilter.filter(obj =&gt; obj.status !== &quot;Declined&quot;)
  );
  </code></pre>
  <p>The above code works fine, but when I try to loop through all the column fields of a table it doesn't work, here is my code:</p>
  <pre><code>this.gridOptions.api.setRowData(this.arrayToFilter.filter(function(item) {
      for(var i = 0; i &lt; columns.length; i++) {
          var temp = columns[i].headerName
          if(item[temp] === 'Declined')
              return false
          return true
      }
  }));
  </code></pre>
  <p>What am I doing wrong in the loop?</p>