WinUI.TableView 1.0.0

dotnet add package WinUI.TableView --version 1.0.0
NuGet\Install-Package WinUI.TableView -Version 1.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="WinUI.TableView" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WinUI.TableView --version 1.0.0
#r "nuget: WinUI.TableView, 1.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.
// Install WinUI.TableView as a Cake Addin
#addin nuget:?package=WinUI.TableView&version=1.0.0

// Install WinUI.TableView as a Cake Tool
#tool nuget:?package=WinUI.TableView&version=1.0.0

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 duble 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 fuctionality: 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 implement System.Collections.IList. This is because WinUI.TableView internally uses own implementaion 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. 
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.0.0 109 4/20/2024
1.0.0-preview4 95 3/26/2024
1.0.0-preview3 73 3/5/2024
1.0.0-preview2 77 2/18/2024
1.0.0-preview1 79 2/4/2024