\Kendo\UI\SpreadsheetSheetRow

A PHP class representing the row setting of SpreadsheetSheetRows.

Methods

addCell

Adds one or more SpreadsheetSheetRowCell to the SpreadsheetSheetRow.

Returns

\Kendo\UI\SpreadsheetSheetRow

Parameters

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

Example - using \Kendo\UI\SpreadsheetSheetRowCell

<?php
$row = new \Kendo\UI\SpreadsheetSheetRow();
$cell = new \Kendo\UI\SpreadsheetSheetRowCell();
$background = 'value';
$cell->background($background);
$row->addCell($cell);
?>

Example - using array

<?php
$row = new \Kendo\UI\SpreadsheetSheetRow();
$background = 'value';
$row->addCell(array('background' => $background));
?>

Example - adding more than one SpreadsheetSheetRowCell

<?php
$row = new \Kendo\UI\SpreadsheetSheetRow();
$first  = new \Kendo\UI\SpreadsheetSheetRowCell();
$second = new \Kendo\UI\SpreadsheetSheetRowCell();
$row->addCell($first, $second);
?>

height

The row height in pixels. Defaults to rowHeight.

Returns

\Kendo\UI\SpreadsheetSheetRow

Parameters

$value float

Example

<?php
$row = new \Kendo\UI\SpreadsheetSheetRow();
$row->height(1);
?>

index

The absolute row index. Required to ensure correct positioning.

Returns

\Kendo\UI\SpreadsheetSheetRow

Parameters

$value float

Example

<?php
$row = new \Kendo\UI\SpreadsheetSheetRow();
$row->index(1);
?>

type

The table row element role, in the context of the Grid table structure.

Returns

\Kendo\UI\SpreadsheetSheetRow

Parameters

$value string

Example

<?php
$row = new \Kendo\UI\SpreadsheetSheetRow();
$row->type('value');
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy