Skip to main content

SpreadsheetBuilder.Width(String) Method

Specifies the Spreadsheet’s width.

Namespace: DevExpress.AspNetCore.Spreadsheet

Assembly: DevExpress.AspNetCore.Spreadsheet.v24.1.dll

NuGet Package: DevExpress.AspNetCore.Spreadsheet

Declaration

public SpreadsheetBuilder Width(
    string width
)

Parameters

Name Type Description
width String

The Spreadsheet’s width.

Returns

Type Description
SpreadsheetBuilder

An object that can be used to further configure the Spreadsheet.

Remarks

@(Html.DevExpress()
    .Spreadsheet("spreadsheet")
    .Height("500px")
    .Width("100%")
    .DocumentRequestHandlerUrl(Url.Action("DxDocumentRequest"))
    .Open(documentPath)
)
See Also