\Kendo\UI\DockManagerRootPanePane

A PHP class representing the pane setting of DockManagerRootPanePanes.

Methods

closeable

Specifies if the pane can be closed. Available only for panes of type content.

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value boolean

Example

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->closeable(true);
?>

content

Sets the HTML content of the DockManagerRootPanePane.

Returns

DockManagerRootPanePane

$value string

Example

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->content('<strong>Content</strong>');
?>

dockable

Specifies if the pane can be docked and allow inner docking of other panes. Accepts boolean or object. Available only for panes of type content.

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value boolean|\Kendo\UI\DockManagerRootPanePaneDockable|array

Example - using boolean

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->dockable(true);
?>

Example - using \Kendo\UI\DockManagerRootPanePaneDockable

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$dockable = new \Kendo\UI\DockManagerRootPanePaneDockable();
$dock = true;
$dockable->dock($dock);
$pane->dockable($dockable);
?>

Example - using array

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$dock = true;
$pane->dockable(array('dock' => $dock));
?>

Sets the content of the header. Accepts a string or a kendo template. By default, the same content is displayed in the tab when the pane is unpinned or within a pane of type tab. If not specified the title is displayed. Available only for panes of type content.

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->header('value');
?>

Example - using \Kendo\JavaScriptFunction

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->header(new \Kendo\JavaScriptFunction('function() { }'));
?>

id

Defines the id of the pane

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value string

Example

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->id('value');
?>

orientation

Sets the orientation of the pane splitter.

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value string

Example

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->orientation('value');
?>

panes

Specifies an array of pane definitions.

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value array

Example

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->panes(array());
?>

selected

Specifies the index of the initially selected tab. Available only for panes of type tab.

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value float

Example

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->selected(1);
?>

size

Specifies the size of a pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%").

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value string

Example

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->size('value');
?>

tabHeader

Sets the content of the tab when the pane is unpinned or within a tab pane. If not specified, header content is used. Available only for panes of type content.

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->tabHeader('value');
?>

Example - using \Kendo\JavaScriptFunction

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->tabHeader(new \Kendo\JavaScriptFunction('function() { }'));
?>

title

Sets the title of the pane. Available only for panes of type content.

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value string

Example

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->title('value');
?>

type

Sets the type of the pane.

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value string

Example

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->type('value');
?>

unpinnable

Specifies if the pane can be pinned/unpinnned. Available only for panes of type content.

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value boolean|\Kendo\UI\DockManagerRootPanePaneUnpinnable|array

Example - using boolean

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->unpinnable(true);
?>

Example - using \Kendo\UI\DockManagerRootPanePaneUnpinnable

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$unpinnable = new \Kendo\UI\DockManagerRootPanePaneUnpinnable();
$unpinned = true;
$unpinnable->unpinned($unpinned);
$pane->unpinnable($unpinnable);
?>

Example - using array

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$unpinned = true;
$pane->unpinnable(array('unpinned' => $unpinned));
?>

visible

Specifies if the pane is initially visible.

Returns

\Kendo\UI\DockManagerRootPanePane

Parameters

$value boolean

Example

<?php
$pane = new \Kendo\UI\DockManagerRootPanePane();
$pane->visible(true);
?>
In this article
Not finding the help you need?