How to collapse splitter on document ready?

4 posts, 1 answers
  1. Chris
    Chris avatar
    19 posts
    Member since:
    Feb 2016

    Posted 12 Oct Link to this post

    Hi,

    I have a dojo set up where I have a couple splitters, and I been searching online for a couple hours on how to have the splitter panels collapsed when the page loads.

    Currently my splitter layout looks like this attachment A.PNG and I want the end result to look like attachment B.PNG ( I hope they got attached)

    If the screenshots didn't get attached then what I am looking to do is have the left pane and bottom right pane collapsed

    This my dojo

     

     

  2. Answer
    Vessy
    Admin
    Vessy avatar
    1383 posts

    Posted 13 Oct Link to this post

    Hi Chris,

    You can use the splitter's collapse() method in order to collapse all needed panes.

    For example: http://dojo.telerik.com/@veselinar/iWEZO

    Regards,
    Vessy
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
  4. Chris
    Chris avatar
    19 posts
    Member since:
    Feb 2016

    Posted 13 Oct in reply to Vessy Link to this post

    Thanks Vessy,

    Its much appreciated.

  5. Vessy
    Admin
    Vessy avatar
    1383 posts

    Posted 14 Oct Link to this post

    Hi,

    You are welcome, Chris - I am glad I managed to help.

    Regards,
    Vessy
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready