Table - allow users to change column width #7894
Labels
0 - new
New issues that need assignment.
ArcGIS Online
Issues logged by ArcGIS Online team members.
c-table
Issues that pertain to the calcite-table and related components
calcite-components
Issues specific to the @esri/calcite-components package.
enhancement
Issues tied to a new feature or request.
estimate - 3
A day or two of work, likely requires updates to tests.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
needs milestone
Planning workflow - pending milestone assignment, has priority and/or estimate.
p - medium
Issue is non core or affecting less that 60% of people using the library
Check existing issues
Description
calcite-tables
should allow users to adjust the widths of columns to most optimally display header/cell content. This would be similar to how tables in Google Docs/Microsoft Word/etc. allow for dynamic sizing.Acceptance Criteria
Being able to adjust column widths manually in a
calcite-table
would allow users to tweak their tables' design based on changing content/word lengths in columns.Relevant Info
No response
Which Component
calcite-table
Example Use Case
We want to avoid something like this from happening in smart mapping raster panels: https://codepen.io/iyouth66/pen/ExGLqjX?editors=100. If a word in a
calcite-table-cell
is too long, the table will exceed any setmax-width
. We can prevent this by usingoverflow-wrap
, but then the table will shrink the other columns unnecessarily. It would be more ideal if we could adjust the column widths manually to fit everything as desired.Priority impact
p3 - want for upcoming milestone
Calcite package
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: