This is a migrated thread and some comments may be shown as answers.

Toggle Splitter Programmatically

1 Answer 224 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
pixi
Top achievements
Rank 1
pixi asked on 22 Feb 2019, 01:12 PM

Hi,

I am searching for a way to programmatically toggle splitter pane. I would like to show or hide one of the panes, possibly even hiding the splitter bar.

I have a simple two-pane vertical splitter:

<kendo-splitter orientation="vertical">
        <kendo-splitter-pane> <h3>Top pane</h3> </kendo-splitter-pane>
        <kendo-splitter-pane> <h3>Bottom pane</h3> </kendo-splitter-pane>
</kendo-splitter>

 

Help would be greatly appreciated.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 26 Feb 2019, 06:17 AM
Hi,

I replied to the support ticket that you have opened with the same question. For reference I am pasting it below:

Should be possible to achieve this by using ngIf - example.

Regards,
Daniel
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Splitter
Asked by
pixi
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or