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

Remove a panel from a splitter

1 Answer 89 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Pascal
Top achievements
Rank 1
Pascal asked on 16 Feb 2012, 08:58 PM
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?

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 17 Feb 2012, 12:58 PM
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!
Tags
Splitter
Asked by
Pascal
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or