Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add column resize feature to table #472

Open
3 tasks done
zemirco opened this issue Jan 16, 2023 · 0 comments
Open
3 tasks done

feat: add column resize feature to table #472

zemirco opened this issue Jan 16, 2023 · 0 comments
Labels
feature Issues that describe new features. needed: votes Enhancement suggestion which needs votes, before it gets addressed by the contributors.

Comments

@zemirco
Copy link

zemirco commented Jan 16, 2023

Prerequisites

Describe the feature request

It would nice to be able to resize the columns of a table.

Describe the use case

When we have many columns and screen width is limited we typically use the ellipsis feature to strip information that is too long, e.g. Nahrungsmittelunverträglichkeit becomes Nahrungsmitte....

As a user I would like to understand what's behind those column as sometimes it might be unknown when the user is not a specialists in a certain domain or the title is too short and the context is missing, e.g. Nahrung....

In such a case it would be nice to increase the column width to see more information.

Describe preferred solution

  • user should be able to decrease column width
  • user should be able to increase column width
  • when user double clicks on resizer the column width should automatically adjust to largest content
  • the developer should still be able to set a min and max width

Describe alternatives

https://adazzle.github.io/react-data-grid/#/common-features
Kapture 2023-01-16 at 13 06 11

https://mui.com/x/react-data-grid/
Kapture 2023-01-16 at 13 07 35

https://reactdatagrid.io/demo
Kapture 2023-01-16 at 13 09 24

https://www.ag-grid.com/react-data-grid/column-sizing/
Kapture 2023-01-16 at 13 10 30

https://www.telerik.com/kendo-react-ui/components/grid/columns/resizing/
Kapture 2023-01-16 at 13 11 41

https://www.infragistics.com/products/ignite-ui-react/react/components/grids/data-grid-column-resizing
Kapture 2023-01-16 at 13 13 23

https://ej2.syncfusion.com/react/demos/?_gl=1*nt9t34*_ga*MTYyNjIyNDcwMC4xNjczNTk5Nzkw*_ga_WC4JKKPHH0*MTY3MzU5OTc5MC4xLjAuMTY3MzU5OTc5MC4wLjAuMA..&_ga=2.12839479.1625363014.1673599790-1626224700.1673599790#/material/grid/column-resizing
Kapture 2023-01-16 at 13 15 12

https://blueprintjs.com/docs/#table/features
Kapture 2023-01-16 at 13 16 48

Related code

This is related to the table umbrella feature #469.

Additional information

No response

@zemirco zemirco added feature Issues that describe new features. triage An issue that needs assessment to determine its validity and urgency labels Jan 16, 2023
@borisdiakur borisdiakur added needed: votes Enhancement suggestion which needs votes, before it gets addressed by the contributors. and removed triage An issue that needs assessment to determine its validity and urgency labels Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issues that describe new features. needed: votes Enhancement suggestion which needs votes, before it gets addressed by the contributors.
Projects
None yet
Development

No branches or pull requests

2 participants