columns: [
{
header: 'No',
dataKey: 'Index',
},
{ header: 'No Registrasi', dataKey: 'no_register' },
{ header: 'Kode Partai', dataKey: 'kode_partai' },
{ header: 'Sumber', dataKey: 'kode_partai' },
{ header: 'Tanggal Panen', dataKey: 'tanggal_panen' },
{ header: 'Tanggal Terima', dataKey: 'tanggal_penerima' },
],
I’ve tried to use index + 1, but it doesn’t work. I want my dataKey to be filled with sequential numbers according to the number of Arrays I get from the api service’s response. in what other way so that I can enter the serial number in the ‘NO’ column.I use Vuejs