\Kendo\UI\TreeListColumnMenu

A PHP class representing the columnMenu setting of TreeList.

Methods

columns

If set to true the column menu would allow 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 would allow the user to filter the treelist. By default the column menu allows the user to filter if filtering is enabled via the filterable.

Returns

\Kendo\UI\TreeListColumnMenu

Parameters

$value boolean

Example

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

messages

The text messages displayed 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 would allow the user to sort the treelist by the column field. By default the column menu allows the user to sort if sorting is enabled via the sortable option.

Returns

\Kendo\UI\TreeListColumnMenu

Parameters

$value boolean

Example

<?php
$columnMenu = new \Kendo\UI\TreeListColumnMenu();
$columnMenu->sortable(true);
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve the information

close
Dummy