Represents the result returned by a data provider for a grid component. This class encapsulates both the collection of items to be displayed in the grid and the total item count which is useful for implementing features like pagination and infinite scrolling.
Name | Type | Description |
---|---|---|
Data | IEnumerable<TItem> |
The collection of |
TotalCount | int? |
The total count of items in the data source. This count is used by the grid to calculate the total number of pages and manage the pagination or infinite scrolling. It represents the total number of items before any paging is applied. |