title: Apply a condition on specific column data - jquery DataTable
body: <p>Firstly, I have the following table:</p>
  
  <p><a href="https://i.stack.imgur.com/n8HiB.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/n8HiB.jpg" alt=""></a>
  The column which enclosed by red color display 2 types of account, the value <code>1</code>= <code>Free</code> and value <code>2</code> = <code>paid</code> (free, paid accounts).</p>
  
  <p>I want before rendering the data, apply a condition to change the <code>1</code> to <code>free</code> and <code>2</code> to <code>paid</code>. </p>
  
  <p>that's it.</p>
  
  <p><strong>Table initialization:</strong></p>
  
  <pre><code>var dataTableY = $('#table').DataTable({
      serverSide: true,
      ajax: {
          url: 'directory/class/method'
      },
      processing: true,
      scrollY: 400,
      paging: true,
      info: true,
      select: {
          style: 'os'
      },
      pagingType: 'full_numbers',
      language: {
          url: 'DataTables/lang/english.json'
      }
  });
  </code></pre>