\Kendo\UI\GridContextMenuBodyItem

A PHP class representing the bodyItem setting of GridContextMenuBody.

Methods

command

Specifies the command of the item.

Returns

\Kendo\UI\GridContextMenuBodyItem

Parameters

$value string

Example

<?php
$bodyItem = new \Kendo\UI\GridContextMenuBodyItem();
$bodyItem->command('value');
?>

icon

Specifies the icon of the item.

Returns

\Kendo\UI\GridContextMenuBodyItem

Parameters

$value string

Example

<?php
$bodyItem = new \Kendo\UI\GridContextMenuBodyItem();
$bodyItem->icon('value');
?>

name

Specifies the name of the item.

Returns

\Kendo\UI\GridContextMenuBodyItem

Parameters

$value string

Example

<?php
$bodyItem = new \Kendo\UI\GridContextMenuBodyItem();
$bodyItem->name('value');
?>

text

Specifies the text of the item.

Returns

\Kendo\UI\GridContextMenuBodyItem

Parameters

$value string

Example

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