title: Angular ng-lightning datatable how to set class for a column
body: <p>I am using ng-lightning framework with Angular 12. Using the datatable component from this framework, a table is being displayed.</p>
  <p>The API documentation is available in the link
  <a href="https://ng-lightning.github.io/ng-lightning/#/components/datatables" rel="nofollow noreferrer">ng-lightning datatable</a></p>
  <p>As per the datatable API ,  the tag ng-datatable-column has a property [cellClass] that can be used to style class for a cell.
  I am not able to make this work.
  e.g.  for cell “Payment year”, I need to display the value in center of the column , instead of being left aligned (which appears to be the default)
  the code is</p>
  <pre><code>&lt;ng-datatable-column heading=”Payment year” key=”payYear” cellClass=”’center’”&gt;
  &lt;/&lt;ng-datatable-column&gt;
  </code></pre>
  <p>The css file contains following</p>
  <pre><code>.center {
      Text-align: center;
  }
  </code></pre>