Craticula.AgGrid 1.3.0

dotnet add package Craticula.AgGrid --version 1.3.0
                    
NuGet\Install-Package Craticula.AgGrid -Version 1.3.0
                    
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="Craticula.AgGrid" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Craticula.AgGrid" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Craticula.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 Craticula.AgGrid --version 1.3.0
                    
#r "nuget: Craticula.AgGrid, 1.3.0"
                    
#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 Craticula.AgGrid@1.3.0
                    
#: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=Craticula.AgGrid&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Craticula.AgGrid&version=1.3.0
                    
Install as a Cake Tool

Craticula.AgGrid

The AG Grid request adapter of Craticula (the spec calls it the frontend adapter: the compiler's input side). It runs in your server, next to the compilers, and nothing of Craticula goes in the browser. It parses a Server-Side Row Model request (the getRows JSON, AG Grid v31 to v36) into the canonical IR that the Craticula compilers consume, and maps a page of results back to the shape the grid expects. It does not talk to any database.

Install

dotnet add package Craticula.AgGrid

Example

using Craticula.AgGrid;
using Craticula.Core.Ir;
using Craticula.Core.Schema;

public static class Example
{
    public static (AgGridParsedRequest Request, FilterNode? Filter) Parse(string requestJson, GridSchema schema)
    {
        AgGridParsedRequest parsed =
            AgGridRequestParser.Parse(requestJson, new AgGridParseOptions { Schema = schema });

        FilterNode? filter = GridFilterPipeline.Process(
            parsed.NativeFilter, parsed.CustomFilters, parsed.Page, schema, new ResourceLimits(),
            parsed.Group, parsed.Aggregations);

        return (parsed, filter);
    }
}

Pass the parsed request and the filter to a compiler package (Craticula.Sql, Craticula.Mongo or Craticula.Search) or to an execution adapter.

AG Grid Community (Infinite Row Model)

A flat grid on the free Community edition works too. The Infinite Row Model sends startRow, endRow, sortModel and filterModel (no group, value or pivot fields), and the parser accepts exactly that.

  • Works: the text, number and date filters with every operator Community offers except native in-range, both ways of joining two conditions (condition1/condition2 and conditions[]), single- and multi-column sort, paging. Each compiles with the same semantics as the Server-Side Row Model.
  • Needs Enterprise, so not covered: row grouping, aggregation, pivot and the set filter.
  • Not accepted: the native in-range option is rejected (its two bounds carry no inclusivity); send a range through the customFilters extension with the inclusivity you mean, or hide the option on the column.
  • Dates: a date column needs no zone. A datetime column resolves in the zone from AgGridParseOptions.DefaultZone (UTC unless you set one), because Community sends no requestContext.zone.
  • Status: proven by derived test requests (spec/fixtures/community-infinite), not yet by payloads recorded from a real grid; the folder's README says how to swap one in.

A minimal datasource for the Infinite Row Model posts the getRows params and hands the rows back with the last row:

const datasource = {
  async getRows(params) {
    const response = await fetch('/api/rows', {
      method: 'POST',
      headers: { 'Content-Type': 'application/json' },
      body: JSON.stringify({
        startRow: params.startRow,
        endRow: params.endRow,
        sortModel: params.sortModel,
        filterModel: params.filterModel,
      }),
    });
    const page = await response.json(); // { rows, lastRow } produced by your host from the compiled query
    params.successCallback(page.rows, page.lastRow);
  },
};

Compatibility

Implements Craticula spec version 0.3.0 (the language-neutral semantics and conformance fixtures in the repository, spec/). Targets .NET 10.

License

Apache-2.0. Source and issues: https://github.com/pluries/craticula.

Product Compatible and additional computed target framework versions.
.NET 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
1.3.0 85 11/26/2026
1.2.1 103 11/15/2026
1.2.0 145 11/12/2026
1.1.0 98 11/12/2026
1.0.0 100 11/10/2026