GridItemsProvider<TGridItem> Delegate

Definition

A callback that provides data for a QuickGrid<TGridItem>.

public delegate System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Components.QuickGrid.GridItemsProviderResult<TGridItem>> GridItemsProvider<TGridItem>(GridItemsProviderRequest<TGridItem> request);
type GridItemsProvider<'GridItem> = delegate of GridItemsProviderRequest<'GridItem> -> ValueTask<GridItemsProviderResult<'GridItem>>
Public Delegate Function GridItemsProvider(Of TGridItem)(request As GridItemsProviderRequest(Of TGridItem)) As ValueTask(Of GridItemsProviderResult(Of TGridItem)) 

Type Parameters

TGridItem

The type of data represented by each row in the grid.

Parameters

request
GridItemsProviderRequest<TGridItem>

Parameters describing the data being requested.

Return Value

A ValueTask<TResult> that gives the data to be displayed.

Applies to