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

DataGrid : multiLineWrap wrap doesn't apply for the table header #5662

Closed
1 task
marinamas opened this issue Jul 11, 2024 · 1 comment
Closed
1 task

DataGrid : multiLineWrap wrap doesn't apply for the table header #5662

marinamas opened this issue Jul 11, 2024 · 1 comment

Comments

@marinamas
Copy link

marinamas commented Jul 11, 2024

Package

Carbon for IBM Products

Description

  • Create a Datagrid table and add multiLineWrap = true for one column.
  • multiLineWrap doesn't wrap the column header

Expectation:
I should be able to wrap Table header. Incase the column name is too big , adding width will only include (...) in the header. There should be a way user should be able to see the Header name as below
image

Component(s) impacted

Datagrid

Browser

No response

@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version

"@carbon/ibm-products": "2.40.0",

Suggested Severity

None

Product/offering

NA

CodeSandbox or Stackblitz example

https://codesandbox.io/p/sandbox/datagridfilter-forked-6xz574?file=%2Fsrc%2FExample.js%3A115%2C27

Steps to reproduce the issue (if applicable)

No response

Release date (if applicable)

No response

Code of Conduct

Tasks

Preview Give feedback
@github-project-automation github-project-automation bot moved this to Needs triage 🧐 in Carbon for IBM Products Jul 11, 2024
@elycheea elycheea moved this from Needs triage 🧐 to Backlog 🌋 in Carbon for IBM Products Jul 22, 2024
@sangeethababu9223 sangeethababu9223 self-assigned this Oct 4, 2024
@sangeethababu9223 sangeethababu9223 moved this from Backlog 🌋 to In progress in Carbon for IBM Products Oct 4, 2024
@sangeethababu9223 sangeethababu9223 moved this from In progress to Backlog 🌋 in Carbon for IBM Products Oct 4, 2024
@sangeethababu9223 sangeethababu9223 removed their assignment Oct 4, 2024
@ljcarot ljcarot moved this from Backlog 🌋 to Icebox 🧊 in Carbon for IBM Products Oct 30, 2024
@ljcarot
Copy link
Member

ljcarot commented Nov 25, 2024

We've been investigating TanStack Table, a third-party, open-source offering, which provides extensive data table capabilities surpassing what our Carbon Datagrid offers. It provides much more flexibility and customization. TanStack Table is headless which means it can easily be added alongside Datagrid component in your product or application. The benefits of more flexibility for product teams and less maintenance for Carbon makes it a win win. Lastly, it is available in multiple frameworks including React and Web Component so it provides an option to non-React product teams.

For these reasons, we have decided to transition from building our own custom table component to using an example-based approach with TanStack Table. Datagrid will still exist in our library for existing teams but we are announcing the deprecation* of the Datagrid component in v2.54.0 release so teams can begin to work through the transition. Details about how to use both Datagrid and TanStack together can be found here.

*Deprecation means that no new features will be added however sev 1 and sev 2 bugs will be supported.

@ljcarot ljcarot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2024
@github-project-automation github-project-automation bot moved this from Icebox 🧊 to Done 🚀 in Carbon for IBM Products Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants