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

Enhancement/Feature Request: allow resizing of columns even if width is specified #374

Open
jzadra opened this issue May 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jzadra
Copy link

jzadra commented May 30, 2024

Currently if resizeable = TRUE, but there are columns with colDef(width = ) specified, those columns are not resizable. This is the case even if the colDef() for a column with width set also explicitly sets resizable = T.

I think it would be great if there was a way to set the column default width while still allowing them to be resized.

My reasoning:

  1. It seems confusing from a user perspective to be able to resize some columns, and then not be able to on others, as there is no visual indication of why some can be changed and others can't
  2. Just because I want to set a default width does not mean I don't want the users to still have control over it.
@glin glin added the enhancement New feature or request label Jul 1, 2024
@glin
Copy link
Owner

glin commented Jul 1, 2024

I definitely agree, and I'm pretty sure there was a technical reason why fixed widths columns couldn't be resized. Looking back at my notes now, this came up before and I thought there wasn't an easy solution at the time: #223

I bet it is possible to get fixed width columns resizable, but it'll probably take some effort to look into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants