Blazor IQueryable Data Source
Accepts an IQueryable<TItem> and translates grid sort, filter and paging into LINQ expressions, so EF Core executes them in the database. Developers get server-side operations with no hand-written query code.
Planned. This page shows the specification from issue #178. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A grid bound to an in-memory IQueryable of 1M rows with a panel showing the generated expression tree or SQL text.
Expected behavior
Each operation shows the translated LINQ. Fast scrolling cancels earlier queries through CancellationToken. Counts follow the selected strategy.
Planned API surface
ItemsQueryable parameterIGridQueryTranslatorOnQueryBuilding hookCancellationToken supportTotalCount strategy optionAcceptance criteria
- Sort, filter and paging translate into a single composed IQueryable (pending)
- Superseded requests are cancelled (pending)
- Untranslatable filters raise a documented error, never a silent client-side evaluation (pending)
- Async enumeration is used when the provider supports it (pending)