A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

[DefaultValue("")]
public string FieldName { get; set; }
<DefaultValue("")>
Public Property FieldName As String

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