SpreadsheetSheetRowBuilder
Methods
Cells(System.Action)
The cells for this row.
Parameters
configurator - System.Action<SpreadsheetSheetRowCellFactory>
The action that configures the cells.
Example
@( Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =>
{
sheets.Add()
.Name("Food Order")
.Rows(rows =>
{
rows.Add().Cells(cells =>
{
cells.Add()
.Value("Invoice1")
.FontSize(22)
.Color("lightblue");
});
});
})
)
Height(System.Double)
The row height in pixels. Defaults to rowHeight.
Parameters
value - System.Double
The value that configures the height.
Example
@( Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =>
{
sheets.Add()
.Name("Food Order")
.Rows(rows =>
{
rows.Add().Height(70);
});
})
)
Index(System.Int32)
The absolute row index. Required to ensure correct positioning.
Parameters
value - System.Int32
The value that configures the index.
Example
@( Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =>
{
sheets.Add()
.Name("Food Order")
.Rows(rows =>
{
rows.Add().Index(11);
});
})
)
Type(System.String)
The table row element role in the context of the Grid table structure.
Parameters
value - System.String
The value that configures the type.
Example
@( Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =>
{
sheets.Add()
.Name("Food Order")
.Rows(rows =>
{
rows.Add().Type("header");
});
})
)