-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom table header / table items content? #354
Comments
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 |
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? |
Hi there! The UI framework is very pretty, very easy to use (I am using it with a modern SvelteKit project at the moment at home) and honestly I am liking it so far 👍 .
However: I am currently working on a calendar component, because the existing ones do not meet my needs. I e.g. want to put additional data into each cell (e.g. a list of TODOs or a customly drawn line in various colors, showing off projects, that I have worked on on that date).
Going by the Table docs, there currently seems to be no way to add anything besides a string or a number to each table cell (and header), right? I'd probably need to add a component.
Are there plans to extend the functionality to the Table component?
The text was updated successfully, but these errors were encountered: