WinUI.TableView 1.2.0-preview1

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-preview1                
NuGet\Install-Package WinUI.TableView -Version 1.2.0-preview1                
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-preview1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WinUI.TableView --version 1.2.0-preview1                
#r "nuget: WinUI.TableView, 1.2.0-preview1"                
#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.2.0-preview1&prerelease

// Install WinUI.TableView as a Cake Tool
#tool nuget:?package=WinUI.TableView&version=1.2.0-preview1&prerelease                

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. 
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.2.2 31 11/26/2024
1.2.1 403 10/12/2024
1.2.0 402 8/14/2024
1.2.0-preview2 110 7/9/2024
1.2.0-preview1 108 6/18/2024
1.1.1 348 5/19/2024
1.1.0 180 5/5/2024
1.0.0 176 4/20/2024
1.0.0-preview4 118 3/26/2024
1.0.0-preview3 91 3/5/2024
1.0.0-preview2 95 2/18/2024
1.0.0-preview1 102 2/4/2024