How do you set column width dynamically? #5454
Unanswered
jnovak-SM2Dev
asked this question in
Q&A
Replies: 1 comment
-
So I found a way that seems to work, not sure if there is a better way.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wondering how you can set the width of a column dynamically? Basically i'm trying to set the width to be a certain size when the window is large and a certain size when it is small. I was hoping I could do something like
table.getColumn("name")!.columnDef.size = 100;
, but that does not seem to work.Beta Was this translation helpful? Give feedback.
All reactions