I have some panels (most time grid panels) which a most time configured without a header, meaning header: false. Now I need to toogle the header but I could not find anything concening this. So how can I do this?
I have some panels (most time grid panels) which a most time configured without
Share
As far as I know this is not possible after you have choose to create no header.
You may either consider using a simple component and apply this to the
dockedItemsalong with a appropriateweight. Which may perfectly suitable as long as you don’t need direct access to the toolsor
you define the panel with a header and hide it before the component get shown. I never tried this but it should work. You can receive the header with
getHeader()Here is a working example:
After some reading I found a way to create a Header afterwards. It can be done with
updateHeader(true)