Syncfusion.Grid.Grouping.Windows
Members 


GridRecord Class

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

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

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

Given a Syncfusion.Grouping.RecordRow or Syncfusion.Grouping.NestedTable, you can query its Syncfusion.Grouping.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 datasource, 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 Syncfusion.Grouping.Table.DisplayElements. Instead a record serves as a container for multiple row elements and nested tables. One exception is if you specified Syncfusion.Grouping.Engine.RecordAsDisplayElements. You can set Syncfusion.Grouping.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 Syncfusion.Grouping.Record.GetData method will return a reference to the original record with data in the datasource.

A record can be navigated to a current record if you call its Syncfusion.Grouping.Record method.

Individual field contents can be retrieved with its Syncfusion.Grouping.Record method.

Inheritance Hierarchy

System.Object
   Syncfusion.Grouping.Element
      Syncfusion.Grouping.Record
         Syncfusion.Windows.Forms.Grid.Grouping.GridRecord
            Syncfusion.Windows.Forms.Grid.Grouping.GridRecordWithValueCache

AssemblyVersion

Syncfusion.Grid.Grouping.Windows: 17.3460.0.26

See Also