\Kendo\UI\TreeListColumnMenu

A PHP class representing the columnMenu setting of TreeList.

Methods

columns

If set to true, the column menu allows the user to select (show and hide) TreeList columns. By default, the column menu allows column selection.

Returns

\Kendo\UI\TreeListColumnMenu

Parameters

$value boolean

Example

<?php
$columnMenu = new \Kendo\UI\TreeListColumnMenu();
$columnMenu->columns(true);
?>

filterable

If set to true, the column menu will allow the user to filter the TreeList. By default, if filtering is enabled through filterable, the column menu allows the user to filter.

Returns

\Kendo\UI\TreeListColumnMenu

Parameters

$value boolean

Example

<?php
$columnMenu = new \Kendo\UI\TreeListColumnMenu();
$columnMenu->filterable(true);
?>

messages

The text messages that is played in the column menu. Use it to customize or localize the column menu messages.

Returns

\Kendo\UI\TreeListColumnMenu

Parameters

$value \Kendo\UI\TreeListColumnMenuMessages|array

Example - using \Kendo\UI\TreeListColumnMenuMessages

<?php
$columnMenu = new \Kendo\UI\TreeListColumnMenu();
$messages = new \Kendo\UI\TreeListColumnMenuMessages();
$columns = 'value';
$messages->columns($columns);
$columnMenu->messages($messages);
?>

Example - using array

<?php
$columnMenu = new \Kendo\UI\TreeListColumnMenu();
$columns = 'value';
$columnMenu->messages(array('columns' => $columns));
?>

sortable

If set to true, the column menu will allow the user to sort the TreeList by the column field. By default, if sorting is enabled through sortable, the column menu allows the user to sort the data.

Returns

\Kendo\UI\TreeListColumnMenu

Parameters

$value boolean

Example

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