\Kendo\UI\SpreadsheetDefaultCellStyle
A PHP class representing the defaultCellStyle setting of Spreadsheet.
Methods
Italic
If set to true, sets the cell font to italic.
Returns
\Kendo\UI\SpreadsheetDefaultCellStyle
Parameters
$value boolean
Example
<?php
$defaultCellStyle = new \Kendo\UI\SpreadsheetDefaultCellStyle();
$defaultCellStyle->Italic(true);
?>
background
The background CSS color of the cell.
Returns
\Kendo\UI\SpreadsheetDefaultCellStyle
Parameters
$value string
Example
<?php
$defaultCellStyle = new \Kendo\UI\SpreadsheetDefaultCellStyle();
$defaultCellStyle->background('value');
?>
bold
If set to true, sets the cell font to bold.
Returns
\Kendo\UI\SpreadsheetDefaultCellStyle
Parameters
$value boolean
Example
<?php
$defaultCellStyle = new \Kendo\UI\SpreadsheetDefaultCellStyle();
$defaultCellStyle->bold(true);
?>
color
The text CSS color of the cell.
Returns
\Kendo\UI\SpreadsheetDefaultCellStyle
Parameters
$value string
Example
<?php
$defaultCellStyle = new \Kendo\UI\SpreadsheetDefaultCellStyle();
$defaultCellStyle->color('value');
?>
fontFamily
The font family of the cell.
Returns
\Kendo\UI\SpreadsheetDefaultCellStyle
Parameters
$value string
Example
<?php
$defaultCellStyle = new \Kendo\UI\SpreadsheetDefaultCellStyle();
$defaultCellStyle->fontFamily('value');
?>
fontSize
The font size of the cell in pixels.
Returns
\Kendo\UI\SpreadsheetDefaultCellStyle
Parameters
$value string
Example
<?php
$defaultCellStyle = new \Kendo\UI\SpreadsheetDefaultCellStyle();
$defaultCellStyle->fontSize('value');
?>
underline
If set to true, sets the cell font to underline.
Returns
\Kendo\UI\SpreadsheetDefaultCellStyle
Parameters
$value boolean
Example
<?php
$defaultCellStyle = new \Kendo\UI\SpreadsheetDefaultCellStyle();
$defaultCellStyle->underline(true);
?>
wrap
If set to true, sets the cell wrap.
Returns
\Kendo\UI\SpreadsheetDefaultCellStyle
Parameters
$value boolean
Example
<?php
$defaultCellStyle = new \Kendo\UI\SpreadsheetDefaultCellStyle();
$defaultCellStyle->wrap(true);
?>