#How to configure a column to only be as wide as it's content?

5 messages · Page 1 of 1 (latest)

scenic sparrow
#

Does anyone know if there's a way to force the first column (the one with the checkbox) to only be as wide as said checkbox?

wanton berry
#

set the header width to be a static value

little rain
#

just don't use the size properties from TanStack Table at all and rely on the normal semantic table elements CSS width behavior

scenic sparrow
#

@wanton berry ⬆️