\Kendo\UI\SpreadsheetToolbar

A PHP class representing the toolbar setting of Spreadsheet.

Methods

data

A Boolean value which indicates if the Data tab or a collection of tools that will be shown in the Data tab will be displayed.The available tools are: sort; filter or validation.

Returns

\Kendo\UI\SpreadsheetToolbar

Parameters

$value boolean|array

Example - using boolean

<?php
$toolbar = new \Kendo\UI\SpreadsheetToolbar();
$toolbar->data(true);
?>

Example - using array

<?php
$toolbar = new \Kendo\UI\SpreadsheetToolbar();
$toolbar->data(array());
?>

home

A Boolean value which indicates if the Home tab or a collection of tools that will be shown in the Home tab will be displayed.The following list indicates the available tools. The tools which are part of a tool group are defined as an array. For example ["bold", "italic", "underline"]. open; exportAs; [cut, copy, paste]; [bold, italic, underline]; backgroundColor, textColor; borders; fontSize, fontFamily; alignment; textWrap; [formatDecreaseDecimal, formatIncreaseDecimal]; format; merge; freeze or filter.

Returns

\Kendo\UI\SpreadsheetToolbar

Parameters

$value boolean|array

Example - using boolean

<?php
$toolbar = new \Kendo\UI\SpreadsheetToolbar();
$toolbar->home(true);
?>

Example - using array

<?php
$toolbar = new \Kendo\UI\SpreadsheetToolbar();
$toolbar->home(array());
?>

insert

A Boolean value which indicates if the Insert tab or a collection of tools that will be shown in the Insert tab will be displayed.The following list indicates the available tools. The tools which are part of a tool group are defined as an array. For example ["deleteColumn", "deleteRow"]. [ addColumnLeft, addColumnRight, addRowBelow, addRowAbove ] or [ deleteColumn, deleteRow ].

Returns

\Kendo\UI\SpreadsheetToolbar

Parameters

$value boolean|array

Example - using boolean

<?php
$toolbar = new \Kendo\UI\SpreadsheetToolbar();
$toolbar->insert(true);
?>

Example - using array

<?php
$toolbar = new \Kendo\UI\SpreadsheetToolbar();
$toolbar->insert(array());
?>
In this article
Not finding the help you need?