\Kendo\UI\SpreadsheetDefaultCellStyle

A PHP class representing the defaultCellStyle setting of Spreadsheet.

Methods

Italic

Sets the cell font to italic, if set to true.

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

Sets the cell font to bold, if set to true.

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 for 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

Sets the cell font to underline, if set to true.

Returns

\Kendo\UI\SpreadsheetDefaultCellStyle

Parameters

$value boolean

Example

<?php
$defaultCellStyle = new \Kendo\UI\SpreadsheetDefaultCellStyle();
$defaultCellStyle->underline(true);
?>

wrap

Sets the cell wrap, if set to true.

Returns

\Kendo\UI\SpreadsheetDefaultCellStyle

Parameters

$value boolean

Example

<?php
$defaultCellStyle = new \Kendo\UI\SpreadsheetDefaultCellStyle();
$defaultCellStyle->wrap(true);
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy