Here is the code snippet for the table I am working on. I have imported a-table
from antd
. To enable click functionality to route to a details page from this listing page, an additional td
can be added.
<a-table
:columns="companiesColumns"
:dataSource="getDisplayData"
class="companies-table"
:pagination="false"
rowKey="id"
>
<span slot="nse_symbol" slot-scope="nse_symbol" class="nse-symbol">
<span>{{ nse_symbol || '-' }}</span>
</span>
</a-table>