Set exact width in addPanel #339
Replies: 1 comment
-
I am going to close this. I discovered that I can do it inside the component itself with the API, and I think I can also do: event.api.addPanel({
id: 'default',
component: 'default'
}).api.setSize({
width: 250
}) It would be really nice to be able to include a starting width in the main config for the panel, however, but this works well for now. |
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
-
I am wondering if it is possible to set the exact width in the gridview programmatically vis the api.addPanel somehow. I as far as I can tell there isn't, and my best bet is to likely generate a layout json and use that to start my app from. But wanted to know is there is something I am missing.
Beta Was this translation helpful? Give feedback.
All reactions