\Kendo\UI\PivotConfiguratorV2
A PHP wrapper for Kendo UI PivotConfiguratorV2.
Inherits from \Kendo\UI\Widget.
Usage
To use PivotConfiguratorV2 in a PHP page instantiate a new instance, configure it via the available
configuration methods and output it by echo
-ing the result of the render method.
Using Kendo PivotConfiguratorV2
<?php
// Create a new instance of PivotConfiguratorV2 and specify its id
$pivotConfiguratorV2 = new \Kendo\UI\PivotConfiguratorV2('PivotConfiguratorV2');
// Configure it
$pivotConfiguratorV2->filterable(true)
// Output it
echo $pivotConfiguratorV2->render();
?>
Methods
dataSource
Sets the data source of the widget.
Returns
\Kendo\UI\PivotConfiguratorV2
Parameters
$value \Kendo\Data\DataSource|array
Example - using \Kendo\Data\DataSource
<?php
$pivotConfiguratorV2 = new \Kendo\UI\PivotConfiguratorV2('PivotConfiguratorV2');
$dataSource = new \Kendo\Data\DataSource();
$pivotConfiguratorV2->dataSource($dataSource);
?>
Example - using array
<?php
$pivotConfiguratorV2 = new \Kendo\UI\PivotConfiguratorV2('PivotConfiguratorV2');
$schema = new \Kendo\Data\DataSourceSchema();
$pivotConfiguratorV2->dataSource(array('schema' => $schema));
?>
filterable
If set to true the user will be able to filter by using the field menu.
Returns
\Kendo\UI\PivotConfiguratorV2
Parameters
$value boolean
Example
<?php
$pivotConfiguratorV2 = new \Kendo\UI\PivotConfiguratorV2('PivotConfiguratorV2');
$pivotConfiguratorV2->filterable(true);
?>
height
The height of the PivotConfiguratorV2. Numeric values are treated as pixels.
Returns
\Kendo\UI\PivotConfiguratorV2
Parameters
$value float|string
Example - using float
<?php
$pivotConfiguratorV2 = new \Kendo\UI\PivotConfiguratorV2('PivotConfiguratorV2');
$pivotConfiguratorV2->height(1);
?>
Example - using string
<?php
$pivotConfiguratorV2 = new \Kendo\UI\PivotConfiguratorV2('PivotConfiguratorV2');
$pivotConfiguratorV2->height('value');
?>
messages
The text messages displayed in the fields sections.
Returns
\Kendo\UI\PivotConfiguratorV2
Parameters
$value \Kendo\UI\PivotConfiguratorV2Messages|array
Example - using \Kendo\UI\PivotConfiguratorV2Messages
<?php
$pivotConfiguratorV2 = new \Kendo\UI\PivotConfiguratorV2('PivotConfiguratorV2');
$messages = new \Kendo\UI\PivotConfiguratorV2Messages();
$applyButtonText = 'value';
$messages->applyButtonText($applyButtonText);
$pivotConfiguratorV2->messages($messages);
?>
Example - using array
<?php
$pivotConfiguratorV2 = new \Kendo\UI\PivotConfiguratorV2('PivotConfiguratorV2');
$applyButtonText = 'value';
$pivotConfiguratorV2->messages(array('applyButtonText' => $applyButtonText));
?>
navigatable
If set to true the user could navigate the component using the keyboard navigation. By default keyboard navigation is disabled.
Returns
\Kendo\UI\PivotConfiguratorV2
Parameters
$value boolean
Example
<?php
$pivotConfiguratorV2 = new \Kendo\UI\PivotConfiguratorV2('PivotConfiguratorV2');
$pivotConfiguratorV2->navigatable(true);
?>
orientation
Defines a value indicating the type of layout that the configurator has. Possible values are: "vertical" or "horizontal".
Returns
\Kendo\UI\PivotConfiguratorV2
Parameters
$value string
Example
<?php
$pivotConfiguratorV2 = new \Kendo\UI\PivotConfiguratorV2('PivotConfiguratorV2');
$pivotConfiguratorV2->orientation('value');
?>
sortable
If set to true the user could sort the widget by using the field menu.
Returns
\Kendo\UI\PivotConfiguratorV2
Parameters
$value boolean|
Example - using boolean
<?php
$pivotConfiguratorV2 = new \Kendo\UI\PivotConfiguratorV2('PivotConfiguratorV2');
$pivotConfiguratorV2->sortable(true);
?>