New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the SpreadsheetSheetRow settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SpreadsheetSheetRowBuilder

Inheritance: objectSpreadsheetSheetRowBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public SpreadsheetSheetRowBuilder(SpreadsheetSheetRow settings)
Parameters:settingsSpreadsheetSheetRow

Methods

The cells for this row.

C#
public SpreadsheetSheetRowBuilder Cells(Action<SpreadsheetSheetRowCellFactory> configurator)
Parameters:configuratorAction<SpreadsheetSheetRowCellFactory>

The action that configures the cells.

Returns:

SpreadsheetSheetRowBuilder

The row height in pixels. Defaults to rowHeight.

C#
public SpreadsheetSheetRowBuilder Height(double value)
Parameters:valuedouble

The value that configures the height.

Returns:

SpreadsheetSheetRowBuilder

Example:
C#
@( Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =&gt;
{
sheets.Add()
.Name("Food Order")
.Rows(rows =&gt;
{
rows.Add().Height(70);
});
})
)

The absolute row index. Required to ensure correct positioning.

C#
public SpreadsheetSheetRowBuilder Index(int value)
Parameters:valueint

The value that configures the index.

Returns:

SpreadsheetSheetRowBuilder

Example:
C#
@( Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =&gt;
{
sheets.Add()
.Name("Food Order")
.Rows(rows =&gt;
{
rows.Add().Index(11);
});
})
)

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

C#
public SpreadsheetSheetRowBuilder Type(string value)
Parameters:valuestring

The value that configures the type.

Returns:

SpreadsheetSheetRowBuilder

Example:
C#
@( Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =&gt;
{
sheets.Add()
.Name("Food Order")
.Rows(rows =&gt;
{
rows.Add().Type("header");
});
})
)