Skip to main content

TreeListSummaryItem.FieldName Property

Gets or set the name of the data source field whose values are used to calculate the summary.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string FieldName { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that specifies the data source field’s name.

Remarks

If the TreeListSummaryItem.SummaryType property is set to Count, you can leave the FieldName property set to an empty string (or set to any other value).

If the TreeListSummaryItem.SummaryType property is set to Min, Max, Sum or Average, the FieldName property must specify the name of a field bound to the column, whose values must be used when calculating a summary value. Otherwise, no summary will be calculated.

See Also