Open caturandi-labs opened 2 years ago
Hi @pascalbaljet , I have some issue when accessing row index on cell slot. I suggest you to add slot props (index). My reason is I want to process the index in table.
Please refer to this code: https://github.com/protonemedia/inertiajs-tables-laravel-query-builder/blob/main/js/Components/Table.vue
please check line code 159, can you add this code :index="key" ?
:index="key"
<slot :name="`cell(${column.key})`" :item="item" :index="key" > {{ item[column.key] }} </slot>
Hi @pascalbaljet , I have some issue when accessing row index on cell slot. I suggest you to add slot props (index). My reason is I want to process the index in table.
Please refer to this code: https://github.com/protonemedia/inertiajs-tables-laravel-query-builder/blob/main/js/Components/Table.vue
please check line code 159, can you add this code
:index="key"
?