FlexQuery.NET.Adapters.AgGrid 4.0.0-preview.2

This is a prerelease version of FlexQuery.NET.Adapters.AgGrid.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package FlexQuery.NET.Adapters.AgGrid --version 4.0.0-preview.2
                    
NuGet\Install-Package FlexQuery.NET.Adapters.AgGrid -Version 4.0.0-preview.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FlexQuery.NET.Adapters.AgGrid" Version="4.0.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FlexQuery.NET.Adapters.AgGrid" Version="4.0.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="FlexQuery.NET.Adapters.AgGrid" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FlexQuery.NET.Adapters.AgGrid --version 4.0.0-preview.2
                    
#r "nuget: FlexQuery.NET.Adapters.AgGrid, 4.0.0-preview.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FlexQuery.NET.Adapters.AgGrid@4.0.0-preview.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FlexQuery.NET.Adapters.AgGrid&version=4.0.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=FlexQuery.NET.Adapters.AgGrid&version=4.0.0-preview.2&prerelease
                    
Install as a Cake Tool

FlexQuery.NET.Adapters.AgGrid

NuGet Version

AG Grid Server-Side Row Model (SSRM) adapter for FlexQuery.NET.

When to Use This Package

Install this package if your application uses AG Grid Server-Side Row Model (SSRM).

The adapter translates AG Grid SSRM request payloads into FlexQuery QueryOptions and converts query results back into the response format expected by AG Grid.

Installation

dotnet add package FlexQuery.NET.Adapters.AgGrid

Quick Start

using FlexQuery.NET.Adapters.AgGrid;

[HttpPost("grid-data")]
public async Task<IActionResult> GetGridData([FromBody] AgGridRequest request)
{
    var options = request.ToQueryOptions();

    var result = await _context.Products.FlexQueryAsync<Product>(options, opts =>
    {
        opts.AllowedFields = new HashSet<string> { "Id", "Name", "Price", "Category" };
    });

    var response = result.ToAgGridServerSideResponse(request);

    return Ok(response);
}

Supported Features

  • Filtering
  • Sorting
  • Pagination
  • Row Grouping
  • Aggregations
  • Projection

Features

  • Request ParsingAgGridQueryOptionsParser.Parse() converts AG Grid JSON to QueryOptions
  • Response ConversionToAgGridServerSideResponse() returns data in AG Grid's expected format with group metadata (key, level, childCount)
  • Server-Side Row Model Support — Pagination, filtering, sorting, row grouping, and aggregations
  • Aggregate Alias Mapping — Single-aggregate columns map back to the original field name
  • camelCase Option — PascalCase-to-camelCase conversion for row data dictionaries
  • No Database Calls — The adapter only transforms JSON — zero overhead

Filter Mapping

AG Grid Filter FlexQuery Operator
equals eq
notEqual neq
contains contains
lessThan lt
greaterThan gte
inRange between

Documentation

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0-preview.3 42 7/18/2026
4.0.0-preview.2 45 7/14/2026
4.0.0-preview.1 46 7/12/2026
3.1.1 101 7/4/2026
3.1.0 102 6/26/2026
3.0.6 103 6/24/2026
3.0.5 106 6/24/2026
3.0.4 94 6/23/2026
3.0.3 100 6/23/2026
3.0.2 106 6/22/2026
3.0.1 109 6/22/2026

- chore(ci): remove azure-demo-api workflow
- refactor(options): introduce QueryGovernanceOptions as governance base
- Revert "merge feature branch docs-v4 to main branch (#9)"
- merge feature branch docs-v4 to main branch (#9)
- Merge branch 'main' into feature/docs-v4
- docs: update guide details
- docs: update readme file
- refactor: replace DSL symbolic logical operators with AND/OR keywords
- docs: unify example domain and restructure documentation
- docs: align v4 API references and fix broken doc links
- docs: added open api readme