Autodesk / Autodesk/react-base-table

Is is possible to set width to maxContent?

Open
#388 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
170
PR merge metrics
No merged PRs in 30d

Description

When rendering the table, I'd like the table width to match whatever the max content of the table contents is.
is this possible? Currently it seems using Autosizer, I need to set an actual number to the width attribute, but ultimately, like a div, I'd like to set it to "maxContent" or an equivalent.

Appreciate if you let me know how I might do that.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.