\Kendo\UI\GridFilterable
A PHP class representing the filterable setting of Grid.
Methods
extra
If set to true the filter menu allows the user to input a second criterion.
Returns
\Kendo\UI\GridFilterable
Parameters
$value boolean
Example
<?php
$filterable = new \Kendo\UI\GridFilterable();
$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\GridFilterable
Parameters
$value \Kendo\UI\GridFilterableMessages|array
Example - using \Kendo\UI\GridFilterableMessages
<?php
$filterable = new \Kendo\UI\GridFilterable();
$messages = new \Kendo\UI\GridFilterableMessages();
$additionalOperator = 'value';
$messages->additionalOperator($additionalOperator);
$filterable->messages($messages);
?>
Example - using array
<?php
$filterable = new \Kendo\UI\GridFilterable();
$additionalOperator = 'value';
$filterable->messages(array('additionalOperator' => $additionalOperator));
?>
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\GridFilterable
Parameters
$value string
Example
<?php
$filterable = new \Kendo\UI\GridFilterable();
$filterable->mode('value');
?>
operators
The text of the filter operators displayed in the filter menu.
Returns
\Kendo\UI\GridFilterable
Parameters
$value \Kendo\UI\GridFilterableOperators|array
Example - using \Kendo\UI\GridFilterableOperators
<?php
$filterable = new \Kendo\UI\GridFilterable();
$operators = new \Kendo\UI\GridFilterableOperators();
$string = new \Kendo\UI\GridFilterableOperatorsString();
$operators->string($string);
$filterable->operators($operators);
?>
Example - using array
<?php
$filterable = new \Kendo\UI\GridFilterable();
$string = new \Kendo\UI\GridFilterableOperatorsString();
$filterable->operators(array('string' => $string));
?>