Skip to main content

TreeListSettings.AutoGenerateServiceColumns Property

Gets or sets whether columns are automatically created for service fields in the underlying data source.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

NuGet Package: DevExpress.Web.Mvc5

#Declaration

public bool AutoGenerateServiceColumns { get; set; }

#Property Value

Type Description
Boolean

true to automatically create columns for service fields in the underlying data source; otherwise, false.

#Remarks

By default, service columns bound to the TreeListSettings.KeyFieldName and TreeListSettings.ParentFieldName data fields, are not created. To automatically create columns for these data fields, enable the AutoGenerateServiceColumns option.

See Also