We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Collapsed SplitPane

Hello,

How to configure a SplitPane as collapsed at beginning?

Thanks!

1 Reply

AP Arun Palaniyandi Syncfusion Team November 12, 2015 11:40 AM UTC

Hi Jorge,

Thank you for contacting Syncfusion support

Query: How to configure a SplitPane as collapsed at beginning?

We can configure a SplitPane as collapsed by using the collapse() method. We suggest you to use collapse method in the script section of the .aspx page and give the index value of the SplitPane to collapse a particular SplitPane as desired.

Refer to the below code for the collapse method:

<code>

<script>

 $(function () {

                var splitterObj = $("#MainContent_outterSplitter").data("ejSplitter");

                 //paneindex value //

                splitterObj.collapse(0);

            });

</script>

</code>

 We have prepared the Splitter sample for shared scenario and it is available below link:

http://www.syncfusion.com/downloads/support/forum/121110/ze/splitter1912774493
Please let us know if you have any other queries.

Regards,
Arun P


Loader.
Live Chat Icon For mobile
Up arrow icon