\Kendo\UI\TreeListFilterableOperators

A PHP class representing the operators setting of TreeListFilterable.

Methods

date

The texts of the filter operators that are displayed for columns which are bound to date fields.In the following example, only the Is before... and Is after... operators will be displayed in the operators DropDownList.

Returns

\Kendo\UI\TreeListFilterableOperators

Parameters

$value \Kendo\UI\TreeListFilterableOperatorsDate|array

Example - using \Kendo\UI\TreeListFilterableOperatorsDate

<?php
$operators = new \Kendo\UI\TreeListFilterableOperators();
$date = new \Kendo\UI\TreeListFilterableOperatorsDate();
$eq = 'value';
$date->eq($eq);
$operators->date($date);
?>

Example - using array

<?php
$operators = new \Kendo\UI\TreeListFilterableOperators();
$eq = 'value';
$operators->date(array('eq' => $eq));
?>

number

The texts of the filter operators that are displayed for columns which are bound to number fields.In the following example, only the Equal to... and Not equal to... operators will be displayed in the operators DropDownList.

Returns

\Kendo\UI\TreeListFilterableOperators

Parameters

$value \Kendo\UI\TreeListFilterableOperatorsNumber|array

Example - using \Kendo\UI\TreeListFilterableOperatorsNumber

<?php
$operators = new \Kendo\UI\TreeListFilterableOperators();
$number = new \Kendo\UI\TreeListFilterableOperatorsNumber();
$eq = 'value';
$number->eq($eq);
$operators->number($number);
?>

Example - using array

<?php
$operators = new \Kendo\UI\TreeListFilterableOperators();
$eq = 'value';
$operators->number(array('eq' => $eq));
?>

string

The texts of the filter operators that are displayed for columns whcih are bound to string fields.In the following example, only the Contains... and Starts with... operators will be displayed in the DropDownList.

Returns

\Kendo\UI\TreeListFilterableOperators

Parameters

$value \Kendo\UI\TreeListFilterableOperatorsString|array

Example - using \Kendo\UI\TreeListFilterableOperatorsString

<?php
$operators = new \Kendo\UI\TreeListFilterableOperators();
$string = new \Kendo\UI\TreeListFilterableOperatorsString();
$contains = 'value';
$string->contains($contains);
$operators->string($string);
?>

Example - using array

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