DataGridSummaryTextsBuilder.SumOtherColumn(JS) Method
In This Article
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
C#
public DataGridSummaryTextsBuilder SumOtherColumn(
JS value
)
#Parameters
Name | Type | Description |
---|---|---|
value | JS | A Java |
#Returns
Type | Description |
---|---|
Data |
A reference to this instance after the method is called. |
#Remarks
Use the new JS() expression to set the option’s value.
<script>
var myValue = ...;
</script>
@(Html.DevExtreme().DataGrid()
.Summary(summary => summary
.Texts(texts => texts
.SumOtherColumn(new JS("myValue"))
)
)
)
See Also