vue-good-table
vue-good-table copied to clipboard
How to Align Cell texts to middle?
Issue Type (delete the irrelevant ones)
- [x] Question
Hi,
How can i align the cell text to the middle ? i've an image added which makes the rows texts looks weird aligned, What styles i need to use for align it to the middle/center?
![Screenshot 2022-06-29 at 12 37 32 AM](https://user-images.githubusercontent.com/14838550/176264851-82e80403-be10-4671-8adb-b8586cc88fda.png)
+1 following.
+1 following.
+1. This seems easy, bug the auto-added-class vgt-align-left
seems to always take precedence. I've done the tdClass
thing on columns and the class shows up, but it doesn't override the align-left. I'm not seeing how not to enable that class unless I somehow copy your stylesheet and make my own without that util class. Any ideas? Thanks!
Hi! I found hack) You need add 'vgt-center-align' class: "thClass: 'vgt-center-align'" to fix it