Comments (6)
Hi, @RaskaTheFurry
If you want to change style, you can ref here or #25
You will be not change any code and implement it.
Right position headers of 2nd column:
::v-deep(.vtl-table .vtl-thead .vtl-thead-th:nth-child(2)) {
text-align: right;
}
from vue3-table-lite.
Hello,
sorry for late answer
it would be great if we could use something like "Class and Style Bindings" even for headers instead of just using <style>. This would allow us to style even headers using conditions. A thing that is only possible with slots right now and only to data, if I undestand this component correctly.
from vue3-table-lite.
Hi, @RaskaTheFurry
Yes, I guess you are right. It use hard if have not [v-deep] knowledge.
I added new options to set header/column class or style(in-line), here has example. Hope helpful you.
{
label: "ID",
headerClasses: ["bg-gold", "color-red"],
columnClasses: ["bg-gray"],
headerStyles: { background: "gray" },
columnStyles: { background: "gold" },
field: "id",
width: "3%",
sortable: true,
isKey: true,
},
from vue3-table-lite.
better you give more props to set the position, like center, left or right, not only for header, but for column too,
from vue3-table-lite.
better you give more props to set the position, like center, left or right, not only for header, but for column too,
You can use 「columnClasses」or 「columnStyles」 to set the position or other.
from vue3-table-lite.
Hi, I closed this issue. If any questions, reopen it. thx.
from vue3-table-lite.
Related Issues (20)
- Clear checked items when changing pages.
- Is it possible to add apexchart sparkline to doSearch() function? HOT 10
- Could not find a way to change the route of the app using the buttons on table HOT 1
- click event not handled in tableLoadingFinish function HOT 2
- Static mode pagination not working as expected HOT 3
- Is it possible to add 'return clearChecked' if 'hasCheckbox'?
- Is it possible to add 'return clearChecked' if 'hasCheckbox'? HOT 6
- Bug when dynamically showing checkboxes HOT 1
- Grouping with toggle like a treeview inside table ? HOT 4
- [OTHERS] Call a Function inside of display property for a button HOT 12
- Unchecking row returns old value HOT 5
- Examples not compatible with latest version of vue3 and node18 HOT 1
- Allow HTML in header HOT 4
- Vertical highlighting on mouse hover HOT 3
- has-checkbox and is-fixed-first-column turned on, only checkbox header stays when table scrolls horizontally. HOT 3
- checked items not being cleared HOT 6
- Page selection list too long HOT 1
- [Vue warn]: Hydration node mismatch HOT 5
- Hero text is visible on the side nav HOT 4
- Page-size and page-options not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue3-table-lite.