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

[Feature] Add ability to change table column width using Table/Column settings #7393

Open
mingfang opened this issue Sep 14, 2021 · 10 comments
Assignees
Labels
Enhancement New feature or request Table Widget Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets

Comments

@mingfang
Copy link
Contributor

Currently I can change the table column width by drag the column separator.
While this works, it is not ideal for some cases.
One case is when I want to set the column width to a specific size numerically. This is not possible today.
Another case is when trying to resize the last column of the table.
It's currently very tricky to place the pointer to exactly the right spot to enable dragging to change the size.
Many times I end up resizing the whole tables instead.

@Nikhil-Nandagopal
Copy link
Contributor

@mingfang thank you for the feature request!

@pjgittst
Copy link

HI, is this request still open? I am too looking for fixing the column width but in vain. Though I set the width it gets automatically changed with presence or absence of data. DO we not have a fix for setting the column width yet

@somangshu
Copy link
Contributor

Hey @pjgittst this is still not prioritized!

@okletsov
Copy link

Would love to the feature as well. My use case is actually making columns smaller than dragging allows. My users mostly using phones.

@pvgZelis
Copy link

pvgZelis commented Apr 2, 2024

This feature would be extremely useful especially for columns that have text wrap enabled. If their initial column width is small, the entire table looks horrible on load.

@leonlazic
Copy link

+1 on the feature request

@Nikhil-Nandagopal Nikhil-Nandagopal added the Widgets & Accelerators Pod Issues related to widgets & Accelerators label Aug 6, 2024
@floretan
Copy link

Another use case is setting some columns to be only as wide as needed to fit the content. We have a few tables where the first column is an icon button to trigger an action, and since we have a lot of content to display it would be great if it wasn't wider to start with.

@florrain
Copy link

+1 for this. This would make tables much more cleaner and easier to read while optimizing the real estate on the page.

And related to @floretan's comment there's this feature request for auto sizing the width based on the content #35347

@xximj
Copy link

xximj commented Jan 4, 2025

Is there any workarounds for this?

@Nikhil-Nandagopal
Copy link
Contributor

@xximj you can simply drag and resize the column widths in the table. That would be the workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Table Widget Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets
Projects
None yet
Development

No branches or pull requests