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

How to check a splitter pane's collapsed/expanded state?

3 Answers 492 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Sarah
Top achievements
Rank 1
Sarah asked on 07 Nov 2012, 09:54 PM
Is there a way to check the collapsed/expanded state of one of the splitter's internal panes?

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 12 Nov 2012, 11:56 AM
Hi Sarah,

Splitter panes have client objects attached via jQuery to their DOM elements and the collapsed state information is available there:

$("#pane-dom-element-id").data("pane").collapsed


Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Shruthika
Top achievements
Rank 1
answered on 23 Feb 2016, 08:44 PM
I have property named "collapsible" but not "collapse" now. How do i see if a pane is collapsed or not
0
Alexander Popov
Telerik team
answered on 29 Feb 2016, 06:47 AM
Hi,

As Dimo mentioned, the pane element should have a "collapsed" data property (see screenshot from our demo site). In case the "collapsed" property does not exist, then the pane is in its initial state and is expanded. You can also specify the initial state of the panes through the Splitter's options.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Splitter
Asked by
Sarah
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Shruthika
Top achievements
Rank 1
Alexander Popov
Telerik team
Share this question
or