Class EngineCounters
Defines the constants that specifies the counter logic to be used within the engine. If you have large datasource and need support for groups and filtered records you can reduce the memory footprint by selectively disabling counters you do not need in your application. See WithoutCounter for completely disabling counter logic for the RecordsDetails collection and VirtualMode for using the engine in a virtual mode.
Inheritance
System.Object
EngineCounters
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public sealed class EngineCounters : Enum
Fields
All
Default. All counters are supported: visible elements, filtered records, YAmount, hidden elements, hidden records, CustomCount and VisibleCustomCount. Highest memory footprint.
Declaration
public const EngineCounters All
Field Value
| Type |
|---|
| EngineCounters |
Remarks
- Table.DisplayElements.GetItemAtYAmount and Table.DisplayElements.YAmountIndexOf are supported.
- The Table.Elements collection will return all elements (including hidden elements that are not visible)
- The Table.Records collection will return all records (including records that do not meet filter criteria)
- The Group.Records collection will return all records (including records that do not meet filter criteria)
- Table.DisplayElements.GetVisibleCustomCountPositionOf and Table.DisplayElements.GetItemAtVisibleCustomCount are supported.
- Table.DisplayElements.GetCustomCountPositionOf and Table.DisplayElements.GetItemAtCustomCount are supported.
FilteredRecords
Counts visible elements and filtered records. Smallest memory footprint.
Declaration
public const EngineCounters FilteredRecords
Field Value
| Type |
|---|
| EngineCounters |
Remarks
- Table.DisplayElements.GetItemAtYAmount and Table.DisplayElements.GetYAmountPositionOf are not supported.
- The Table.Elements collection will only return visible elements (same resultset as Table.DisplayElements)
- The Table.Records collection will return only filtered records (same resultset as Table.FilteredRecords)
- The Group.Records collection will return only filtered records (same resultset as Group.FilteredRecords)
- Table.DisplayElements.GetVisibleCustomCountPositionOf and Table.DisplayElements.GetItemAtVisibleCustomCount are not supported.
- Table.DisplayElements.GetCustomCountPositionOf and Table.DisplayElements.GetItemAtCustomCount are not supported.
YAmount
Counts visible elements, filtered records and YAmount. Medium memory footprint.
Declaration
public const EngineCounters YAmount
Field Value
| Type |
|---|
| EngineCounters |
Remarks
- Table.DisplayElements.GetItemAtYAmount and Table.DisplayElements.YAmountIndexOf are supported.
- The Table.Elements collection will only return visible elements (same resultset as Table.DisplayElements)
- The Table.Records collection will return only filtered records (same resultset as Table.FilteredRecords)
- The Group.Records collection will return only filtered records (same resultset as Group.FilteredRecords)
- Table.DisplayElements.GetVisibleCustomCountPositionOf and Table.DisplayElements.GetItemAtVisibleCustomCount are not supported.
- Table.DisplayElements.GetCustomCountPositionOf and Table.DisplayElements.GetItemAtCustomCount are not supported.