\Kendo\UI\RadioGroupItem

A PHP class representing the item setting of RadioGroupItems.

Methods

attributes

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

Returns

\Kendo\UI\RadioGroupItem

Parameters

$value ``

cssClass

Custom class that would be set on the respective k-radio-item element.

Returns

\Kendo\UI\RadioGroupItem

Parameters

$value string

Example

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

enabled

Defines whether the radio button is enabled or not. By default all radio buttons are enabled.

Returns

\Kendo\UI\RadioGroupItem

Parameters

$value boolean

Example

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

encoded

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

Returns

\Kendo\UI\RadioGroupItem

Parameters

$value boolean

Example

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

label

Specifies the label content for the radio button.

Returns

\Kendo\UI\RadioGroupItem

Parameters

$value string

Example

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

value

Specifies the value for the radio button.

Returns

\Kendo\UI\RadioGroupItem

Parameters

$value string

Example

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