Fabulous.Avalonia.DataGrid 10.0.0

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

DataGrid for Fabulous.Avalonia

The DataGrid control is a cross-platform view that displays repeating data in a customizable grid. The control can be styled, templated and bound.

The data grid needs to be bound to an observable collection in a view model that can be found in a related data context. Based on AvaloniaUI DataGrid.

How to use

  • Add the Fabulous.Avalonia.DataGrid package to your project.
  • Open Fabulous.Avalonia at the top of the file where you declare your Fabulous program (eg. Program.stateful).
open Fabulous.Aavalonia

open type Fabulous.Avalonia.View
Using the DataGrid Widget

Now you can use the DataGrid and AutoGeneratedDataGrid widgets in your Fabulous app as follows:

VStack() {
    DataGrid(model.People)

    (CustomDataGrid(model.People) {
        DataGridTextColumn("Name", Binding("Name"))
        DataGridTextColumn(TextBlock("Age"), Binding("Age"))
        DataGridCheckBoxColumn("IsMale", Binding("IsMale"))
    })
        .gridLinesVisibility(DataGridGridLinesVisibility.Horizontal)
        .borderThickness(1.0)
        .borderBrush(SolidColorBrush(Colors.Gray))
}

A full, working example is included in the DataGridPage sample

Additionally, we have the Fabulous Discord server where you can ask any of your Fabulous related questions.

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
10.0.0 80 8/24/2026
3.0.0-pre9 201 1/17/2025
3.0.0-pre8 195 12/27/2024
3.0.0-pre7 186 11/27/2024
3.0.0-pre6 205 5/20/2024
3.0.0-pre5 220 5/17/2024
3.0.0-pre4 214 4/19/2024
3.0.0-pre3 241 4/13/2024
3.0.0-pre2 218 3/31/2024
3.0.0-pre13 442 11/19/2025
3.0.0-pre12 200 5/24/2025
3.0.0-pre11 252 4/7/2025
3.0.0-pre10 178 2/28/2025
3.0.0-pre1 212 3/23/2024
2.4.0 307 4/7/2025
2.4.0-pre1 209 2/9/2024
2.3.0 314 1/17/2024
2.2.0 233 1/9/2024
2.1.0 240 1/8/2024
2.0.0 269 1/1/2024
Loading failed

### Added
- Consolidate the Fabulous core, Avalonia, .NET MAUI, extensions, templates, tests, documentation, and engineering into one repository.
- Add thread-safe throttled dispatch APIs and the `onReceive` component modifier ([#1130](https://github.com/fabulous-dev/Fabulous/pull/1130)).
- Add route-based .NET MAUI navigation stacks ([#1123](https://github.com/fabulous-dev/Fabulous/pull/1123)).
- Add Fabulous 10 architecture, migration, deployment, licensing, glossary, tutorial, and generated API-reference documentation ([#1127](https://github.com/fabulous-dev/Fabulous/pull/1127), [#1135](https://github.com/fabulous-dev/Fabulous/pull/1135)).
- Add release-candidate validation for packages, symbols, SourceLink, public APIs, samples, templates, clean consumers, screenshots, and native application launch ([#1126](https://github.com/fabulous-dev/Fabulous/pull/1126), [#1129](https://github.com/fabulous-dev/Fabulous/pull/1129), [#1131](https://github.com/fabulous-dev/Fabulous/pull/1131)).
- Add repository automation for issue triage and maintenance assistance ([#1146](https://github.com/fabulous-dev/Fabulous/pull/1146)).

### Changed
- Rename the core project and assembly from `Fabulous` to `Fabulous.Core`. The NuGet package ID and F# namespaces remain `Fabulous`.
- Build and publish all Fabulous packages and templates from one solution and release workflow.
- Unify all Fabulous package versions on the `10.0.x` release line.
- Target .NET 10 across the core, Avalonia, MAUI, samples, templates, and CI ([#1128](https://github.com/fabulous-dev/Fabulous/pull/1128)).
- Upgrade the Avalonia backend to Avalonia 12 and the MAUI backend to MAUI 10 ([#1124](https://github.com/fabulous-dev/Fabulous/pull/1124), [#1132](https://github.com/fabulous-dev/Fabulous/pull/1132)).
- Expand CI to build all Avalonia desktop samples, exercise native MAUI targets, instantiate all Avalonia template variants, and capture Gallery screenshots.
- Publish the website, authored documentation, and generated API reference together on GitHub Pages.
- Improve CI concurrency, dependency caching, sharding, artifact discovery, runtime readiness checks, and pull-request execution time ([#1133](https://github.com/fabulous-dev/Fabulous/pull/1133), [#1134](https://github.com/fabulous-dev/Fabulous/pull/1134), [#1139](https://github.com/fabulous-dev/Fabulous/pull/1139)).
- Update the contribution guide for agent-assisted development, maintainer review, and repository validation ([#1153](https://github.com/fabulous-dev/Fabulous/pull/1153)).
- Update Windows compatibility and sample APIs for .NET 10 and current MAUI behavior.
- Remove the obsolete MAUI `MenuItem.accelerator` modifier; use `MenuFlyoutItem.keyboardAccelerators` instead.

### Fixed
- Release publishing now starts only for changelog changes, waits for the matching successful CI run, and no longer requests approval for ordinary builds.
- Make MAUI virtualized collection updates safe when templates and source collections change ([#1125](https://github.com/fabulous-dev/Fabulous/pull/1125)).
- Fix Android, Apple, and Windows package discovery, deployment, startup, and runtime smoke validation ([#1131](https://github.com/fabulous-dev/Fabulous/pull/1131), [#1134](https://github.com/fabulous-dev/Fabulous/pull/1134), [#1138](https://github.com/fabulous-dev/Fabulous/pull/1138)).
- Fix Avalonia screenshot readiness and Gallery overview capture ([#1140](https://github.com/fabulous-dev/Fabulous/pull/1140)).
- Fix .NET 10 sample and template restore, packaging, runtime identifiers, platform architecture, and generated resources.
- Fix MAUI deprecation warnings, WinUI sample executable discovery, and website community links ([#1136](https://github.com/fabulous-dev/Fabulous/pull/1136), [#1137](https://github.com/fabulous-dev/Fabulous/pull/1137), [#1138](https://github.com/fabulous-dev/Fabulous/pull/1138)).
- Correct the published MAUI and Avalonia deployment commands for .NET 10.