alexa
Syncfusion
menu Syncfusion

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class DataResult<T>

    Defines the members of the data manager operation result.

    Inheritance
    object
    DataResult<T>
    DataResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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?

    null (default) - Grid uses sentinel detection (rows returned less than requested page size) true - More records exist beyond the current batch false - No more records available; end of data reached

    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
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved