Use fixedColumns option with auto cell width #692
dnjsgur0629
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted the cell to automatically grow to fit the length of the long text.
I struggled because I couldn't achieve it in the general way.
And I was able to achieve it in the following hacky way.
I used live demo of docs. 👉 fixed columns examples docs
I forcibly overriden table-layout property to auto(by
![image](https://user-images.githubusercontent.com/65391273/206114444-3ca563b7-294a-42d8-93ee-b3cc5eb52bd8.png)
!important
), and gave 'appropriate value' for the width of the column to be fixed.the 'appropriate value' had to be found by experimenting with this and that.
and I get this:
But It's hacky...
So I want a generic way to achieve this.
Beta Was this translation helpful? Give feedback.
All reactions