\Kendo\UI\TaskBoardEditable

A PHP class representing the editable setting of TaskBoard.

Methods

addButton

Adds one or more TaskBoardEditableButton to the TaskBoardEditable.

Returns

\Kendo\UI\TaskBoardEditable

Parameters

$value[, $value2, ...] \Kendo\UI\TaskBoardEditableButton|array

Example - using \Kendo\UI\TaskBoardEditableButton

<?php
$editable = new \Kendo\UI\TaskBoardEditable();
$button = new \Kendo\UI\TaskBoardEditableButton();
$command = 'value';
$button->command($command);
$editable->addButton($button);
?>

Example - using array

<?php
$editable = new \Kendo\UI\TaskBoardEditable();
$command = 'value';
$editable->addButton(array('command' => $command));
?>

Example - adding more than one TaskBoardEditableButton

<?php
$editable = new \Kendo\UI\TaskBoardEditable();
$first  = new \Kendo\UI\TaskBoardEditableButton();
$second = new \Kendo\UI\TaskBoardEditableButton();
$editable->addButton($first, $second);
?>

form

The Kendo Form configuration for Card editing.

Returns

\Kendo\UI\TaskBoardEditable

Parameters

$value ``

headerTemplate

Controls the rendering of the header

Returns

\Kendo\UI\TaskBoardEditable

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

<?php
$editable = new \Kendo\UI\TaskBoardEditable();
$editable->headerTemplate('value');
?>

Example - using \Kendo\JavaScriptFunction

<?php
$editable = new \Kendo\UI\TaskBoardEditable();
$editable->headerTemplate(new \Kendo\JavaScriptFunction('function() { }'));
?>
In this article
Not finding the help you need?