Need to show/hide the horizontal split pane on clicking

Hi,

Can anyone help with sample code how to show/hide the horizontal split pane on clicking…same feature is used in vaadin demo sampler…i have attached the screenshot .

Thanks in advance
13031.png

The Sampler version doesn’t actually use the SplitPanel component, it’s custom made GWT component instead.

But to do that with the core SplitPanel, you can add a SplitterClickListener to it and set the split position when it is clicked. To animate it, your only option is to use CSS transitions/animations.

Thanks a lot…Its working now