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 cannot be resized after being dynamically added #694

Open
jared-jewitt opened this issue Jan 30, 2025 · 0 comments
Open

Column cannot be resized after being dynamically added #694

jared-jewitt opened this issue Jan 30, 2025 · 0 comments

Comments

@jared-jewitt
Copy link

Describe the bug

I have a table in which users can dynamically add new columns. I also have column resizing enabled on my columns. I've noticed an issue where if a column is dynamically added, it will be given a default width of '' (can verify this in local storage). I am then unable to manually resize the column. It looks like setting the width to initial fixes this issue.

To Reproduce

  1. Set up a table with column resizing
  2. Add a button so that when clicked, a new column is added to the table
  3. Attempt to resize the new column. It doesn't work

Expected behavior

The dynamically added column should be able to be resized.

Desktop (please complete the following information):

  • OS: macOS (Sonoma)
  • Browser: Chrome
  • Version: 132
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant