Class RecordsDetails
Defines the class that provides the details section of a group with records.
Inheritance
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class RecordsDetails : DetailsSection, IDisposable, IDisposedEvent, IIsDisposedProperty, ITreeTableCounterSource, ITreeTableSummaryArraySource, IContainerElement, IElementTreeTableSource, IElement
Constructors
RecordsDetails(Group)
Initializes a new instance of the RecordsDetails class with the specified group.
Declaration
public RecordsDetails(Group parent)
Parameters
Type | Name | Description |
---|---|---|
Group | parent | The group this section is created in. |
Properties
FilteredRecords
Gets the collection of records in this group that meet filter criteria.
Declaration
public FilteredRecordsInDetailsCollection FilteredRecords { get; }
Property Value
Type |
---|
FilteredRecordsInDetailsCollection |
Records
Gets the collection of all records in this group. Records that do not meet filter criteria are included.
Declaration
public RecordsInDetailsCollection Records { get; }
Property Value
Type |
---|
RecordsInDetailsCollection |
Methods
CompareSortedColumns()
Determines whether the TableDescriptor.SortedColumns collection was modified or not since the group was sorted.
Declaration
public bool CompareSortedColumns()
Returns
Type | Description |
---|---|
System.Boolean | If Truethe sorted columns are modified;Otherwise False. |
Dispose(Boolean)
Overrides and manages the unwanted resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
OnEnsureInitialized(Object)
Overrides and determines whether to update the objects or not.
Declaration
protected override bool OnEnsureInitialized(object sender)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The object that triggered the OnEnsureInitialized() method call. |
Returns
Type | Description |
---|---|
System.Boolean | If True changes were detected and the object was updated;Otherwise False. |
Overrides
Remarks
virtual method is called from OnEnsureInitialized(Object) and lets derived elements implement element-specific logic to ensure object is up to data.
UpdateSortedColumns()
Determines whether to update the sorted columns or not.
Declaration
public bool UpdateSortedColumns()
Returns
Type | Description |
---|---|
System.Boolean | If True the records needed sorting;Otherwise False. |
Remarks
TableDescriptor.SortedColumns collection was modified since the group was sorted and if this is the case the records in the group will be resorted.