Syncfusion.Grouping.Base
Members 


Syncfusion.Grouping Namespace : ChildTable Class

ChildTable Class

Defines a class for ChildTable which is either a TopLevelGroup or a group that can be referenced as nested table from a record in a parent table. ChildTable groups are created for every new key found based on RelationDescriptor.RelationKeys.

You can get access to a ChildTable through the NestedTable.ChildTable property of a NestedTable in a record.

Object Model
ChildTable ClassCaptionSection ClassSortColumnDescriptorCollection ClassSortColumnDescriptor ClassDetailsSection ClassDisplayElementsInTableCollection ClassElement ClassElementsInTableCollection ClassElement ClassEngine ClassTable ClassFilteredRecordsInDetailsCollection ClassRecord ClassFlattenedFilteredRecordsInGroupCollection ClassRecord ClassFlattenedRecordsInGroupCollection ClassRecord ClassGroupsInDetailsCollection ClassGroup ClassGroupTypedListRecordsCollection ClassRecord ClassDisplayElementsInTableCollection ClassElement ClassElementsInTableCollection ClassElement ClassChildTable ClassElement ClassElement ClassGroup ClassNestedTable ClassRecord ClassSection ClassTable ClassTableDescriptor ClassRecordsInDetailsCollection ClassRecord ClassSectionInGroupCollection ClassSection ClassISummarySection Interface
Syntax
Remarks
A ChildTable defines a group of records that belong to a category specified with RelationDescriptor.RelationKeys. ChildTables are created similar to regular groups when the records of the table are categorized or when a new record is inserted. The collection in the TableDescriptor that defines categorization is the TableDescriptor.RelationChildColumns collection. RelationChildColumns will be added when there is a parent-child relation between two tables. The child table of such relation must be sorted by the columns that are used to identify a record. These columns match the foreign key columns of the parent table. For every new category key with regards to RelationChildColumns a ChildTable is created. The ChildTable class is derived from Group.

A child table can either be a final node with records or it can be a node with nested groups. If a group has records, its Group.Groups collection will be empty and the Group.Records collection will contain all records. If a group has nested groups, its Group collection will have the nested groups and the Group.Records collection will be empty.

A child table can be expanded and collapsed with its Group.IsExpanded property. Expansion of child tables will show or hide nested elements of the group within the Table.DisplayElements and Table.NestedDisplayElements collection.

A table has at least one child table. The Table.TopLevelGroup is a ChildTable which is derived from Group.

Inheritance Hierarchy

System.Object
   Syncfusion.Grouping.Element
      Syncfusion.Grouping.Group
         Syncfusion.Grouping.ChildTable
            Syncfusion.Windows.Forms.Grid.Grouping.GridChildTable

AssemblyVersion

Syncfusion.Grouping.Base: 17.3460.0.14

See Also