ObservableTable 23.12.1

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

ObservableTable

ObservableTable is a 2D data structure designed to bind to a WPF DataGrid, allowing DataGrids to add/remove both rows and columns by changing the underlying ObservableTable.

Features

  • Allows multi-column collections
  • Implements INotifyCollectionChanged and INotiftyPropertyChanged for both rows and columns
  • Includes built-in undo and redo capabilities
  • Provides a helper class to read from/write to CSV files

Installation

Class library (.dll) available at releases.

In Visual Studio:

  • Right-click your project
  • Press Add > Project Reference
  • Press Browse
  • Import the .dll file

Usage

To initialize an ObservableTable:

ObservableTable<string> table = new(headers, records);

To import data from a CSV file:

ObservableTable<string> table = ObservableTableImporter.FromFilePath("path.csv");

To export data to a CSV file:

table.ToFile("path.csv");

Requirements

For ObservableTable.IO only, not required for ObservableTable<T> itself.

Contributing

Contributions are welcomed. Please open pull requests for changes.

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 was computed.  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 was computed.  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.
  • net6.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ObservableTable:

Package Downloads
ObservableTable.IO

IO extension methods for ObservableTable

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
23.12.1 273 12/16/2023
23.12.0-alpha0 155 9/9/2023