You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works as expected, except for one detail. There is no way to set the min width of a header separate from its size. What would be nice is to have access to a getMinWidth function on the header object to do just that:
This would allow setting the size property on a column while using the default minSize of 20, or allow for only setting the minSize and keep the default size of 150. It would also allow some colums to have a size and others to only have a m̀inSize`.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is my current implementation of shadcn/ui
<Table>
component with TanStack table:This works as expected, except for one detail. There is no way to set the min width of a header separate from its size. What would be nice is to have access to a
getMinWidth
function on theheader
object to do just that:This would allow setting the
size
property on a column while using the defaultminSize
of20
, or allow for only setting theminSize
and keep the defaultsize
of150
. It would also allow some colums to have asize
and others to only have a m̀inSize`.Beta Was this translation helpful? Give feedback.
All reactions