First column in Shadcn Table
Unanswered
Da_v_id posted this in #help-forum

Da_v_idOP
Hi! is there an easy way to define a header column? I am trying to replicate a weekly view calendar like the one in the picture. (do you know if someone has done this before?)

5 Replies

Its using tanstack table under the hook. It can easily be done.
that being said a calendar view like your showing is hardly a table, the right hand side maybe, but it will be a really really over complicated table. build things modularly. builda simple day 'stack' that has slots for times and props for the day
that being said a calendar view like your showing is hardly a table, the right hand side maybe, but it will be a really really over complicated table. build things modularly. builda simple day 'stack' that has slots for times and props for the day

I would avoid using the shadcn table component ^ to create a calendar imo

ye samesies

at that point you should just do it in excel 😄

@Jboncz Its using tanstack table under the hook. It can easily be done.
that being said a calendar view like your showing is hardly a table, the right hand side maybe, but it will be a really really over complicated table. build things modularly. builda simple day 'stack' that has slots for times and props for the day

Da_v_idOP
Thanks for the response will try!