WinUI.TableView 1.2.0-preview2

This is a prerelease version of WinUI.TableView.
There is a newer version of this package available.
See the version list below for details.
dotnet add package WinUI.TableView --version 1.2.0-preview2
                    
NuGet\Install-Package WinUI.TableView -Version 1.2.0-preview2
                    
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="WinUI.TableView" Version="1.2.0-preview2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WinUI.TableView" Version="1.2.0-preview2" />
                    
Directory.Packages.props
<PackageReference Include="WinUI.TableView" />
                    
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 WinUI.TableView --version 1.2.0-preview2
                    
#r "nuget: WinUI.TableView, 1.2.0-preview2"
                    
#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.
#addin nuget:?package=WinUI.TableView&version=1.2.0-preview2&prerelease
                    
Install WinUI.TableView as a Cake Addin
#tool nuget:?package=WinUI.TableView&version=1.2.0-preview2&prerelease
                    
Install WinUI.TableView as a Cake Tool

WinUI.TableView

WinUI.TableView is a lightweight and fast data grid control made for WinUI apps. It's derived from ListView so you will experience fluent look and feel in your project. It comes with all the essential features you need, plus extras like an Excel-like column filter, options buttons (for columns and the Table) and easy data export.

cd-build nuget

Features

  • Auto-generating Columns: Automatically generate columns based on the data source.
  • Copy row content: TableView allows you to copy row content, with the option to include or exclude column headers.
  • Editing: Modify cell content directly within the TableView by double tapping on a cell. image image
  • Sorting image
  • Excel-like Column Filter: A key feature that allows users to filter data within columns, enhancing data exploration and analysis. image
  • Export functionality: Built-in export functionality to export data to CSV format. This feature can be enabled by setting the ShowExportOptions = true. image Developers also have the flexibility to implement their own export functionality using two public methods provided:
    • GetRowsContent(bool includeHeaders, char separator): Retrieves the content of all rows in the table.
    • GetSelectedRowsContent(bool includeHeaders, char separator): Retrieves the content of selected rows in the table.

Available Column Types

  1. TableViewTextColumn
  2. TableViewCheckBoxColumn
  3. TableViewComboBoxColumn
  4. TableViewNumberColumn
  5. TableViewToggleSwitchColumn
  6. TableViewTemplateColumn

Limitations

  • Data Source Limitation: WinUI.TableView only accepts data sources that implements System.Collections.IList. This is because WinUI.TableView internally uses its own implementation of AdvancedCollectionView from the CommunityToolkit, which relies on IList-based collections.
  • Cell Selection: Cell selection is not currently supported but it's planned for the future release.

Dependencies

Contributing

We welcome contributions from the community! If you find any issues or have suggestions for improvements, please submit them through the GitHub issue tracker or consider making a pull request.

License

This project is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net6.0-windows10.0.19041 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net9.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-preview2 202 4/3/2025
1.3.0-preview1 175 2/8/2025
1.2.2 1,032 11/26/2024
1.2.1 579 10/12/2024
1.2.0 444 8/14/2024
1.2.0-preview2 120 7/9/2024
1.2.0-preview1 120 6/18/2024
1.1.1 432 5/19/2024
1.1.0 204 5/5/2024
1.0.0 198 4/20/2024
1.0.0-preview4 124 3/26/2024
1.0.0-preview3 103 3/5/2024
1.0.0-preview2 106 2/18/2024
1.0.0-preview1 108 2/4/2024