Skip to main content

BuilderFactorySpreadsheetExtensions.Spreadsheet(BuilderFactory, String) Method

An extension method of the BuilderFactorySpreadsheetExtensions class required to create a Spreadsheet builder.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Spreadsheet.v23.2.dll

NuGet Package: DevExpress.AspNetCore.Spreadsheet

Declaration

public static SpreadsheetBuilder Spreadsheet(
    this BuilderFactory builderFactory,
    string name
)

Parameters

Name Type Description
builderFactory BuilderFactory

The BuilderFactory‘ instance this method extends.

name String

An identifier for the element representing the Spreadsheet on the page.

Returns

Type Description
SpreadsheetBuilder

An object required to build the Spreadsheet.

Remarks

Use this extension method to create a Spreadsheet. The element’s identifier is specified using the value passed as the name parameter.

@(Html.DevExpress()
    .Spreadsheet("spreadsheet")
    .Height("500px")
)
See Also