\Kendo\UI\TreeListFilterable

A PHP class representing the filterable setting of TreeList.

Methods

extra

If set to true, the filter menu will allow the user to input a second criteria.

Returns

\Kendo\UI\TreeListFilterable

Parameters

$value boolean

Example

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

messages

The text messages that are displayed in the filter menu. Use it to customize or localize the filter menu messages.

Returns

\Kendo\UI\TreeListFilterable

Parameters

$value \Kendo\UI\TreeListFilterableMessages|array

Example - using \Kendo\UI\TreeListFilterableMessages

<?php
$filterable = new \Kendo\UI\TreeListFilterable();
$messages = new \Kendo\UI\TreeListFilterableMessages();
$and = 'value';
$messages->_and($and);
$filterable->messages($messages);
?>

Example - using array

<?php
$filterable = new \Kendo\UI\TreeListFilterable();
$and = 'value';
$filterable->messages(array('and' => $and));
?>

mode

If set to row the user would be able to filter via extra row added below the headers. By default filtering is using the menu mode.Can also be set to the following string values: "row" - the user can filter via extra row within the header.; "menu" - the user can filter via the menu after clicking the filter icon. or "menu, row" - the user can filter with both modes above enabled..

Returns

\Kendo\UI\TreeListFilterable

Parameters

$value string

Example

<?php
$filterable = new \Kendo\UI\TreeListFilterable();
$filterable->mode('value');
?>

operators

The text of the filter operators that are displayed in the filter menu.

Returns

\Kendo\UI\TreeListFilterable

Parameters

$value \Kendo\UI\TreeListFilterableOperators|array

Example - using \Kendo\UI\TreeListFilterableOperators

<?php
$filterable = new \Kendo\UI\TreeListFilterable();
$operators = new \Kendo\UI\TreeListFilterableOperators();
$string = new \Kendo\UI\TreeListFilterableOperatorsString();
$operators->string($string);
$filterable->operators($operators);
?>

Example - using array

<?php
$filterable = new \Kendo\UI\TreeListFilterable();
$string = new \Kendo\UI\TreeListFilterableOperatorsString();
$filterable->operators(array('string' => $string));
?>
In this article
Not finding the help you need?