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 Request] Make el-table-column width size proportional to its content #7317
Comments
I have the same demand. |
yeah , i think it 's fit of the table attributes not working by the way. or fit isn't working depend on column's content. |
here is related issue with material-ui, I believe problems discussed there are same. |
Sorry, we have no plan to support this. |
Sorry, we have no plan to support this. |
@alvarolemos
|
this repository may help ex-table-column Hope this can help you. |
No plan for re-opening this Request ? |
Would love to have this |
+1 |
+1 |
Would be nice. |
1 similar comment
Would be nice. |
Hey guys, I solved it by doing the following:
I also had a watcher on the rows variable, so everytime this changed, i recalculated the width of the column. |
This would be a great addition |
I calc the header field width and
I did the same. But if the content is html, it will bad - - |
it`s so bad. |
Similar to this parameter: https://www.antdv.com/components/table/#scroll |
bad framework is bad |
2024 is starting and there is still no solution 😆 |
Existing Component
Yes
Component Name
el-table-column
Description
I'm working on a system that has lots of CRUD tables and I'd like their column width to be variable. Specifically, their width should fit its content. Right now, the Table-Column Attributes available doesn't support that. All the examples on the documentation uses hard-coded width, witch we rather not do in that particular project.
Is there something we are missing or this is not possible with the current API. And if it isn't, would you mind to make it possible?
Thanks in advance,
Álvaro
The text was updated successfully, but these errors were encountered: