Class DataResult<T>
Defines the members of the data manager operation result.
Inherited Members
Namespace: Syncfusion.Blazor.Data
Assembly: Syncfusion.Blazor.Data.dll
Syntax
public class DataResult<T>
Type Parameters
| Name | Description |
|---|---|
| T | Type of the data source element. |
Constructors
DataResult()
Declaration
public DataResult()
Properties
Aggregates
Gets the aggregate result based on the aggregate query.
Declaration
[JsonPropertyName("aggregates")]
public IDictionary<string, object>? Aggregates { get; set; }
Property Value
| Type |
|---|
| IDictionary<string, object> |
Count
Gets the total count of the records in data source.
Declaration
[JsonPropertyName("count")]
public int Count { get; set; }
Property Value
| Type |
|---|
| int |
FilteredRecords
Gets the filtered records.
Declaration
public IEnumerable? FilteredRecords { get; set; }
Property Value
| Type |
|---|
| IEnumerable |
HasMoreRecords
Gets or sets a value indicating whether more records are available beyond the current batch. Used exclusively for unbounded infinite scrolling (GridInfiniteScrollSettings.EnableUnboundedScrolling). When set by the adaptor, the grid uses this flag to determine if end of data has been reached, eliminating the need for TotalItemCount in remote data scenarios.
Declaration
[JsonPropertyName("hasMoreRecords")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? HasMoreRecords { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
|
Remarks
This property is optional and backward compatible. Remote adaptors supporting unbounded scrolling should set this to explicitly signal end-of-data. Adaptors that don't set it (or return null) fall back to sentinel-based detection where pageSize > actual rows returned indicates end of data.
Result
Gets the result of the data operation.
Declaration
[JsonPropertyName("result")]
public IEnumerable? Result { get; set; }
Property Value
| Type |
|---|
| IEnumerable |