Remove a panel from a splitter

2 posts, 0 answers
  1. Pascal
    Pascal avatar
    10 posts
    Member since:
    Oct 2007

    Posted 16 Feb 2012 Link to this post

    Hi,
    I there a way I can remove a complete panel from the splitter, without rebuilding the page? ex:
    <div id="container">
       <div id="top"></div>
       <div id="middle"></div>
       <div id="bottom"></div>
    </div>
    <a id="remove">remove bottom panel</a>


    and then I would like to do:
    $(document).ready(function(){
      $('#container').kendoSplitter({
          orientation: 'vertical',
          panes: [{},{},{}]
      });
     
      $('a#remove').click(function(e){
         e.preventDefault();
         $('#container').data('kendoSplitter').removePanel('#bottom');
       });
    });
    And end with just 2 panes in my splitter.

    Is it somehow possible?
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 17 Feb 2012 Link to this post

    Hello Pascal,

    This functionality is currently unsupported. Feel free to submit it as a feature request on uservoice.

    All the best,
    Alex Gyoshev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top