rubanraj54 / vue-bootstrap4-table

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

row_classes align-middle not working #22

Closed pordonez closed 5 years ago

pordonez commented 5 years ago

Hi,

Apologies if this is a dup of issue #15.

I've included an icon in a table data that I'm trying to middle align. I've added the following to my columns array but it's not working: { name: "check", row_classes: "align-middle" },

My understanding is that "align-middle" should be added to the corresponding td, but that doesn't appear to be happening. If I manually align middle in DevTools I get the desired behavior (see screencap).

Screen Shot 2019-03-12 at 1 31 48 PM

Any help would be greatly appreciated. Thanks, Peter

rubanraj54 commented 5 years ago

Hi @pordonez

Thanks for letting me know this.

I was wondering why it is not working and found that in previous release I commented out few lines of code for testing and forgot to uncomment them.

I fixed this in new release 1.0.30. So could you please update your package to get this working.

Also, if you would like to use advance overriding classes for row, columns, cells, etc,, please checkout the examples here https://rubanraj54.gitbook.io/vue-bootstrap4-table/custom-classes.

Cheers, Ruby.