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

Column resizing should communicate new width to cell renderers #57

Closed
uap-universe opened this issue May 6, 2022 · 1 comment
Closed
Assignees
Labels
discussion-needed We need to decide what to do enhancement New feature or request
Milestone

Comments

@uap-universe
Copy link
Collaborator

This fork introduced a new feature that allows resizing of columns cells.

The way this is achieve is to register a mouse event listener to the header cell and change the width of that cell (and it's sibling) according to the mouse offset when dragging the mouse.

However, the individual cell renders are not notified about the width change. This is problematic for cell renderers that use the width to constrain the contents (e.g. div containers that use text-overflow: ellipsis).

Currently, the cell renderers are usually tied to the width configured in the settings object, which should be the initial width of the column (which is also not always true, see #35 ).

There should be a reliable (and preferably cost efficient) way to communicate width changes to cell renderers.

@uap-universe uap-universe added enhancement New feature or request discussion-needed We need to decide what to do labels May 6, 2022
@uap-universe uap-universe self-assigned this Mar 30, 2023
@uap-universe uap-universe added this to the v2.9.0 milestone Mar 30, 2023
@uap-universe
Copy link
Collaborator Author

I put this into the 2.9.0 milestone, because it looks achievable and 2.9.0 is quite empty, yet. But if it turns out to be way more complicated, it may also be thrown out of the milestone as fast as it came in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion-needed We need to decide what to do enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant