\Kendo\UI\CheckBoxGroupItem

A PHP class representing the item setting of CheckBoxGroupItems.

Methods

attributes

Collection of key-value pairs that would be used to generate the attributes attached to each k-checkbox-item element.

Returns

\Kendo\UI\CheckBoxGroupItem

Parameters

$value ``

cssClass

Any custom classes that should be attached to the k-checkbox-item element.

Returns

\Kendo\UI\CheckBoxGroupItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\CheckBoxGroupItem();
$item->cssClass('value');
?>

enabled

Defines whether the checkbox is enabled or not. By default all checkboxes are enabled.

Returns

\Kendo\UI\CheckBoxGroupItem

Parameters

$value boolean

Example

<?php
$item = new \Kendo\UI\CheckBoxGroupItem();
$item->enabled(true);
?>

encoded

Determines whether the checkbox label content should be rendered as an HTML string or it should be encoded.

Returns

\Kendo\UI\CheckBoxGroupItem

Parameters

$value boolean

Example

<?php
$item = new \Kendo\UI\CheckBoxGroupItem();
$item->encoded(true);
?>

label

Specifies the label content for the checkbox.

Returns

\Kendo\UI\CheckBoxGroupItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\CheckBoxGroupItem();
$item->label('value');
?>

value

Specifies the value for the checkbox.

Returns

\Kendo\UI\CheckBoxGroupItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\CheckBoxGroupItem();
$item->value('value');
?>
In this article
Not finding the help you need?