Syncfusion.Grouping.Base
Members 


Record Class

Represents a record with data. Each record in the data source has an associated Record object in the engine. Records are created when the data source is assigned to a table and before it is sorted or filtered. When a new record is inserted in the data source, a Record is created. When the grouping or sorting of a Table changes, all Record elements stay in sync with their underlying record-counterparts in the data source.

By default, a record will not appear in the Table.DisplayElements. Instead, a record serves as a container of multiple row elements and nested tables.

Object Model
Record ClassEngine ClassTable ClassNestedTablesCollection ClassNestedTable ClassRecord ClassChildTable ClassRecordsDetails ClassElement ClassElement ClassGroup ClassRecord ClassSection ClassTable ClassTableDescriptor ClassRecordPartInRecordCollection ClassRecordPart ClassRecordPreviewRowCollection ClassRecordPreviewRow ClassRecordRowCollection ClassRecordRow Class
Syntax
'Declaration
 
<DefaultMemberAttribute("Item")>
Public Class Record 
   Inherits Element
   Implements Syncfusion.Collections.BinaryTree.IDisposedEvent, Syncfusion.Collections.BinaryTree.IIsDisposedProperty, Syncfusion.Collections.BinaryTree.ITreeTableCounterSource, Syncfusion.Collections.BinaryTree.ITreeTableSummaryArraySource 
'Usage
 
Dim instance As Record
[DefaultMember("Item")]
public class Record : Element, Syncfusion.Collections.BinaryTree.IDisposedEvent, Syncfusion.Collections.BinaryTree.IIsDisposedProperty, Syncfusion.Collections.BinaryTree.ITreeTableCounterSource, Syncfusion.Collections.BinaryTree.ITreeTableSummaryArraySource  
Remarks
There are multiple ways to get access to a specific record.

Given a RecordRow or NestedTable, you can query its Element.ParentRecord property to determine which record these elements belong to.

Since record elements always stay in sync with their underlying record-counterparts in the data source, you can keep a bookmark (reference) to a record. For example, you can save a reference to a record, change the sort order of the table,and then later check Records.IndexOf to determine the new position where the record can be located after the sort.

By default, a record will not appear in the Table.DisplayElements. Instead, a record serves as a container of multiple row elements and nested tables. One exception is if you specified Engine.RecordAsDisplayElements. You can set Engine.RecordAsDisplayElements to True if you do not want the engine to treat Record and ColumnHeaderSection elements as ContainerElements and instead have these elements be returned as a display element in the Table.DisplayElements collection. However, with a GridGroupingControl you must not change this property since a GridGroupingControl relies on the behavior that a record is not a display element but a container for rows and nested tables.

The GetData method will give return a reference to the original record with data in the data source.

A record can be navigated to a current record if you call its SetCurrent(String) method.

Individual field contents can be retrieved with the GetValue(SortColumnDescriptor) method.

Inheritance Hierarchy
AssemblyVersion

Syncfusion.Grouping.Base: 18.1460.0.52

See Also