Version

Configuring Expansion Indicators (xamTreeGrid)

Topic Overview

Purpose

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

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 Expansion Indicators Behavior Summary

Expansion indicators summary

The xamTreeGrid control allows you to specify how the expansion indicators are initially drawn. The following options are available:

Always – indicators are always shown

Never – indicators are never shown

CheckOnDisplay – the control checks for child records and shows indicators only when child records are available

CheckOnExpand – indicators are shown for each records, however when the user click on them and no child records are available the indicator will be hidden

Expansion indicators configuration summary

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

Configurable aspect Details Properties

Expansion Indicators

Used to set the expansion indicators behavior

Code example

The following code example show how to set the expansion indicators to be visible on initial display, but check for child records on the expanding.

In XAML:

<igDP:XamTreeGrid>
  <igDP:XamTreeGrid.FieldLayoutSettings>
    <igDP:FieldLayoutSettings ExpansionIndicatorDisplayMode="CheckOnExpand" />
  </igDP:XamTreeGrid.FieldLayoutSettings>
</igDP:XamTreeGrid>

The following topics provide additional information related to this topic.

Topic Purpose

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

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.