Class GridDomVirtualizationSettings
Inheritance
Namespace: Syncfusion.EJ2.Grids
Assembly: Syncfusion.AspNetCore.Grid.dll
Syntax
public class GridDomVirtualizationSettings : EJTagHelper
Constructors
GridDomVirtualizationSettings()
Declaration
public GridDomVirtualizationSettings()
Properties
AutoRowHeight
If autoRowHeight is set to true, row heights are measured automatically to support variable row heights.
Enable this when using rowTemplate, columnTemplate, or allowTextWrap features.
Note: enabling this with column templates disables column virtualization.
Declaration
public bool AutoRowHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is false |
MaxPoolSize
Maximum row pool size (for memory safety). Restricted to number of DOM rows rendered.
Declaration
public int MaxPoolSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The default value is 500 |
RowBuffer
Number of extra rows rendered above and below the visible viewport. Higher values reduce whitespace during fast scroll at the cost of a larger DOM.
Declaration
public int RowBuffer { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The default value is 5 |
ScrollThrottle
Throttle scroll events (milliseconds). Reduces scroll event processing frequency and used for backend fetching delay can set from user.
Declaration
public int ScrollThrottle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The default value is 0 (no throttling) |
VirtualDomType
Defines the virtualization mode.
Row— Vertical virtualization only.
Declaration
public string VirtualDomType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "Row" |