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

[BUG] Word Wrap in table header cells #1278

Closed
1 task done
thehig opened this issue Jul 31, 2018 · 1 comment
Closed
1 task done

[BUG] Word Wrap in table header cells #1278

thehig opened this issue Jul 31, 2018 · 1 comment
Assignees
Labels
bug Grid The DevExtreme Reactive Grid component

Comments

@thehig
Copy link

thehig commented Jul 31, 2018

  • I have searched this repository's issues and believe that this is not a duplicate.

I'm using ...

  • React Grid
  • Material UI
  • Tree Data Structures
  • Integrated Sorting
  • Column Resizing

Current Behaviour

I've been working to try and apply Word Wrapping to a column header that has resize and sorting. I've managed to get the header to wrap by creating a custom component that sets wordWrapEnabled on the header, however on longer texts this causes things to become cut off

Expected Behaviour

The word wrapping on the header wraps when column is resized, making the header taller if required

Steps to Reproduce (for Bugs)

I've created a sample based on the tree data sample with custom header cell component intended to enable word wrap for just the header, not the rest of the column.

Note the behavior of the Start Date header with the long title

Environment

See samples

@lock
Copy link

lock bot commented Jun 15, 2019

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Grid The DevExtreme Reactive Grid component
Projects
None yet
Development

No branches or pull requests

3 participants