Skip to main content
Tab

ASPxSummaryItem.GetGroupRowDisplayText(GridViewColumn, Object) Method

Formats the specified value according to the current group row summary item’s format settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public string GetGroupRowDisplayText(
    GridViewColumn column,
    object value
)

Parameters

Name Type Description
column GridViewColumn

A GridViewColumnobject that specifies the column, the values of which are aggregated by the summary.

value Object

An object that is the summary value.

Returns

Type Description
String

A String value that is the summary display text.

Remarks

The pattern used to format the summary value can be specified by a summary item’s ASPxSummaryItemBase.DisplayFormat or ASPxSummaryItemBase.ValueDisplayFormat property, or by the underlying column’s EditPropertiesBase.DisplayFormatString property. If no format pattern is specified explicitly, the default pattern used to format values of the predefined summary types is used (see Format Summary Value to learn more).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetGroupRowDisplayText(GridViewColumn, Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also