Comments (3)
Hey, thanks for the kind words.
There is a way to add a component to the table, actually. Look into the named slots on the table. They receive slot props to help you identify the cell, and you can render whichever content you see fit
from attractions.
I somehow couldn't make it. What I wanted to do is e.g. have a table with the first row containing week day names and the first column contain the actual week number and then the contents be something like the day from the date (e.g. 31 from the 31st of January) and then a custom element displaying additional information beneath it.
Sadly it seemed neigh impossible to provide the data and rows in a manner, that would end up displaying the data as I wanted it, so I ended up creating the table (grid) myself using some of the variables and styles from this UI framework:
It'd still be much nicer if I could've reused the Table
component of the framework (I do not really care that much about the styling being 100% the same as in the screenshot, I just wish there was a way to display that bar + text there). However: I was not able to use the information headers and cells information provided by the Table
docs.
from attractions.
I didn't exactly understand what prevented you from accomplishing your goal. Would you like to elaborate on why your implementation didn't work out with the Table component as it is and what can we do to remedy it?
from attractions.
Related Issues (20)
- Font is missing HOT 7
- How to use custom fonts for e.g. FormFields? HOT 4
- Add Advanced Documentation for the AccordionSection Element HOT 2
- SvelteKit support HOT 4
- :global() isn't processed in SvelteKit, some styles aren't applied HOT 7
- Up and running HOT 3
- chip-group.scss has an invalid selector :global HOT 3
- kebab case for custom elements HOT 5
- Install can't trace down stylesheets HOT 6
- Is illright.me down? (Attractions main documentation source) HOT 2
- CSS media breakpoints support? HOT 1
- svelte-preprocess 5 is available HOT 3
- There are links to broken doc site pages HOT 1
- Input value disappears on drag&drop HOT 8
- Vite HOT 6
- Docs HOT 1
- DatePicker shows different month than the selected on specific dates HOT 3
- Button Ripple performance HOT 1
- Slider produces errors on mobile devices 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 attractions.