rubanraj54 / vue-bootstrap4-table

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

Could I remove the card style? #3

Closed LarkLib closed 5 years ago

LarkLib commented 5 years ago
I don't need card_title and pagination_info but still has a box with header around the table. How to remove the box to only keep the table? table around a card: ------------------------------
--------------------    
table           
--------------------    
------------------------------
rubanraj54 commented 5 years ago

Hi @LarkLib ,

Thanks for reporting your issue.

Can you please update your package to new version (1.0.15 or above)?

Fixes:

You can enable or disable it by setting **card_mode** to true/false in the table config.

Example

...
data: function () {
    return {
        rows: [],
        columns: [],
        config: {
            ...
            card_mode: false
            ...
        }
    }
}
...

If you still like to render table inside card body, you can render vue-bootstrap4-table by urself and customize based on your wish. 💖 If you would like to support this plugin, please give this repository a star ⭐ .

LarkLib commented 5 years ago

Thanks for your quickly work, it is working well now, a star!