Class ReadEventArgs
The class that describes the event arguments of the OnRead event of a Telerik component. Used to implement custom data source read operations - fetching data, paging, filtering, sorting and so on.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class ReadEventArgs : EventArgs
Constructors
ReadEventArgs()
Declaration
public ReadEventArgs()
ReadEventArgs(DataSourceRequest)
Properties
Data
Defines the resulting data that is the result of the Read event. Use this to return data back to the component.
Declaration
public IEnumerable Data { get; set; }
Property Value
System.Collections.IEnumerable
|
Request
Defines the DataSourceRequest instance containing the sort, filter, paging and group state of the Telerik component. You can use the data from it to call the appropriate API in your project in order to implement custom logic.
Declaration
public DataSourceRequest Request { get; set; }
Property Value
DataSourceRequest
|
Total
Defines the total count of all data in the data source, excluding items that are filtered out. Use this to return the total count back to the component.
Declaration
public int Total { get; set; }
Property Value
System.Int32
|