title: How to display incremented numbers in defaultContent in data table plugin
body: <p>Here is my code to where I want to get incremented numbers, because of indexed array(return values from API).</p>
  
  <pre><code>{ 
      "data": "",
      "defaultContent": "&lt;img src='"+ imgStatusMap[orderDetails.orderItems[j].paymentStatus] +"' /&gt; 
  </code></pre>
  
  <p>Here in place of <code>j</code>, I need to have dynamic incremented numbers.</p>
  
  <pre><code>var table = $('#orderitems').DataTable( { 
          "pagingType": "simple",
         //"pageLength": 1,
          "oLanguage": {
            "sInfo": "_START_-_END_ Of _TOTAL_",
            "sInfoEmpty": "0-0 Of 0",
            "oPaginate": {
                "sNext": '&lt;i class="fa fa-angle-right"&gt;&lt;/i&gt;',
                "sPrevious": '&lt;i class="fa fa-angle-left"&gt;&lt;/i&gt;'
              }
          },
         data: orderDetails.orderItems,
  
          "columns": [       
              { "data": "orderId" },
              { "data": "orderDate" },
              { "data": "noOfItems" },
              { "data": "","defaultContent": "&lt;img src='"+ imgStatusMap[orderDetails.orderItems[j].paymentStatus] +"' /&gt; "+orderDetails.orderItems[j].paymentStatus },
              {
                  "className" :'details-control glyphicon-plus',
                  "orderable" : false,
                  "data"      :orderDetails.orderItems,
                  "defaultContent": ''
              }],
          "order": [[1, 'asc']]
       }); 
  </code></pre>
  
  <p>Any one has any idea please help me out.</p>