rubanraj54 / vue-bootstrap4-table

Advanced table based on Vue 2 and Bootstrap 4 ⚡️
MIT License
220 stars 58 forks source link

Can't get custom action buttons working #14

Closed pordonez closed 5 years ago

pordonez commented 5 years ago

Hi,

Delighted with the table. Thank you.

I'm not able to get the custom action buttons working/visible. All else works as expected.

I'm using the Basic Usage sample with the custom action buttons sample.

Any help would be greatly appreciated. Thanks again, Peter

rubanraj54 commented 5 years ago

Hi @pordonez

Could you please make an example in codepen/fiddle to check your code? else you can post your sample code here, I'll have a look at.

Cheers, Ruby.

pordonez commented 5 years ago

Hi Ruby, I've posted my App.vue and main.js files here.

Thanks, Peter

rubanraj54 commented 5 years ago

Hi @pordonez

Sorry, in the document I missed passing actions to vue-bootstrap4-table. I updated the document & you can use the following example.

        <vue-bootstrap4-table :rows="rows" 
                                :columns="columns" 
                                :config="config"
                                :actions="actions"
                                @on-download="onDownload">
        </vue-bootstrap4-table>

Cheers, Ruby.

pordonez commented 5 years ago

Thank you Ruby. This works. You truly are a gem.

rubanraj54 commented 5 years ago

Thank you Ruby. This works. You truly are a gem.

Thanks for your comment. If you would like to support this plugin development, please give this repository a star. :+1: