title: Mui-datatables custom search
body: <p>how do I add a custom search in mui-datatables which can be used for data fetched from API. can u please provide me a working example? I tried using </p>
  
  <pre><code> customSearch: (searchQuery, currentRow, columns) =&gt; {
      let isFound = false;
      currentRow.forEach(col =&gt; {
        if (col.toString().indexOf(searchQuery) &gt;= 0) {
          isFound = true;
        }
      });
      return isFound;
    },
  </code></pre>
  
  <p>in options.</p>
  
  <p>note: in console, I got react_devtools_backend.js:6 Server-side filtering is enabled, hence custom search will be ignored. </p>