Skip to main content

DataGridSummaryTextsBuilder.SumOtherColumn(String) Method

Specifies a pattern for the 'sum' summary items displayed in a group row or in any other column rather than the parent one. Mirrors the client-side sumOtherColumn option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DataGridSummaryTextsBuilder SumOtherColumn(
    string value
)

Parameters

Name Type Description
value String

The option value.

Returns

Type Description
DataGridSummaryTextsBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().DataGrid()
    .Summary(summary => summary
        .Texts(texts => texts
            .SumOtherColumn("Custom text")
        )
    )
)
See Also