title: Pass dynamic params to cell renderer in parent component (ag grid)
body: <p>How to pass dynamic params based on cell params?
  Like here when we adding class based on cell params</p>
  <pre><code>cellClassRules: {
     'error-border': (params: any) =&gt; {
        return params.error;
      },
  },
  </code></pre>
  <p>I want to do the same with cellRendererParams but it not working:</p>
  <pre><code>cellRendererParams: {
    someProp: (params: any) =&gt; {
      return ...;
    },
  },
  </code></pre>