Version

Configuring Tree Field (xamTreeGrid)

Topic Overview

Purpose

This topic explains how to configure the control’s tree field.

Required background

The following topics are prerequisites to understanding this topic:

Topic Purpose

This topic explains the features supported by the control from developer perspective.

This topic provides an overview of the visual elements of the control.

Tree Field Configuration Summary

Tree field summary

The xamTreeGrid control allows you to specify the field in which the tree will be placed. The value must match the name of the field as set in the field layout. Depending of the xamTreeGrid’s FlowDirection property the tree is visually placed on the left or on the right side of the field’s content by default.

Tree field configuration summary

The following table explains briefly the configurable aspect of the xamTreeGrid control and maps it to the properties that configure it.

Configurable aspect Details Properties

Tree field

Used to specify the tree field.

Note
Note

If TreeFieldName property is not specified then the first or primary field will be used as the tree field.

Code example

The following code example show how to set the tree field.

In XAML:

<igDP:XamTreeGrid>
  <igDP:XamTreeGrid.FieldLayouts>
    <igDP:XamTreeGrid.FieldLayout>
      <igDP:Field Name="ID" Label="Customer ID" />
      <igDP:Field Name="Name" Label="Customer Name" />
      <igDP:Field Name="Address" Label="Customer Address" />
    </igDP:XamTreeGrid.FieldLayout>
  </igDP:XamTreeGrid.FieldLayouts>
  <igDP:XamTreeGrid.ViewSettings>
    <igDP:TreeViewSettings TreeFieldName="Name" />
  </igDP:XamTreeGrid.ViewSettings>
</igDP:XamTreeGrid>

The following topics provide additional information related to this topic.

Topic Purpose

This topic explains how to configure the expansion indicators' behavior.

This topic explains how to set the indentation used to render the child records.

This topic explains how to configure the selection behavior for child level records.

This topic explains how to configure the filtering feature of the control.

This topic explains the specifics of the summaries support of the control.