This is a migrated thread and some comments may be shown as answers.
Toggle State
3 Answers 57 Views
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 2
Steve asked on 23 Aug 2011, 05:23 AM
Ok, so ...
  1. JSON is returned
  2. Grid or list is populated
  3. jQuery Click events are wired up to each of those items in the list to toggle a splitter pane

...how does one expand said splitter pane.  The examples show wiring it all up when the splitter is created.  How do you call it independently?

3 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 23 Aug 2011, 07:03 AM
Hello Steve,

If I understand correctly, you want to expand and collapse panes dynamically. If that is so, you can use the expand() and collapse() methods of the splitter object, like so:

$("#mySplitter").data("kendoSplitter").expand(".t-pane:eq(0)")


Any jQuery selector or DOM element that points to a pane can be used as an argument.

Best wishes,
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!
0
Steve
Top achievements
Rank 2
answered on 23 Aug 2011, 06:03 PM
Works great, although with this definition:

//Left, Right, Details
                      $("#horizontal-master").kendoSplitter({
                                                                panes: [
                                                                    { collapsible: false, resizable: false, size: "240px" },
                                                                    { collapsible: false, resizable: false },
                                                                    { collapsible: true, resizable: false, collapsed: true, size: "454px"}
                                                                ]
                                                            });

...the 3rd pane IS resizable...
**USING THE NEW VERSION YOU GUYS POSTED**
0
Alex Gyoshev
Telerik team
answered on 24 Aug 2011, 08:08 AM
Hi Steve,

Thanks, fixed. Here's a full build, as you asked yesterday.

Best wishes,
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!
Asked by
Steve
Top achievements
Rank 2
Answers by
Alex Gyoshev
Telerik team
Steve
Top achievements
Rank 2
Share this question
or