\Kendo\UI\TreeListFilterable

A PHP class representing the filterable setting of TreeList.

Methods

extra

If set to true the filter menu allows 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 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));
?>

operators

The text of the filter operators 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));
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy