title: How to get index of row in ant design table?
body: <p>I want to show index of rows in ant design table. eg: 1 to 10 for 10 rows data i got.</p>
  <pre><code>const columns = [{
      title: 'ID',
      dataIndex: 'id',
      key: 'id',
      width: '5%'
    },
  ...
  ];
  &lt;Table key=&quot;table&quot; columns={columns} dataSource={listData} pagination= {false} /&gt;
  </code></pre>
  <p>fixed:</p>
  <pre><code>title: &quot;ID&quot;, width: &quot;5%&quot;, render: (text, record) =&gt; ( listData.indexOf(record) + 1 ) i fixed it
  </code></pre>