Back to Devexpress

SpreadsheetBuilder.Width(String) Method

aspnetcore-devexpress-dot-aspnetcore-dot-spreadsheet-dot-spreadsheetbuilder-dot-width-x28-system-dot-string-x29.md

latest1.4 KB
Original Source

SpreadsheetBuilder.Width(String) Method

Specifies the Spreadsheet’s width.

Namespace : DevExpress.AspNetCore.Spreadsheet

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

NuGet Package : DevExpress.AspNetCore.Spreadsheet

Declaration

csharp
public SpreadsheetBuilder Width(
    string width
)

Parameters

NameTypeDescription
widthString

The Spreadsheet’s width.

|

Returns

TypeDescription
SpreadsheetBuilder

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

|

Remarks

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

See Also

SpreadsheetBuilder Class

SpreadsheetBuilder Members

DevExpress.AspNetCore.Spreadsheet Namespace