You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-11Lines changed: 28 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,14 @@
1
1
2
2
# WinUI.TableView
3
3
4
-
`WinUI.TableView` is a lightweight and fast data grid control made for WinUI apps. It is easy to use, and capable of handling large number of items with a focus on performance. 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 TableView) and easy data export.
4
+
**WinUI.TableView** is a lightweight and fast data grid control made for [WinUI](https://learn.microsoft.com/en-us/windows/apps/winui/winui3) apps and now supports the [Uno Platform](https://platform.uno/docs/index.html). It is easy to use, and capable of handling large numbers of items with a focus on performance. 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 TableView) and easy data export.
-**Excel-like Column Filter**: TableView allows you to filter data within columns with an excel like flyout to enhance data exploration and analysis.
27
23
-**Export functionality**: Built-in export functionality to export data to CSV format. This feature can be enabled by setting the `ShowExportOptions = true`.
24
+
-**Grid Lines**: Display grid lines to improve data visibility and organization.
25
+
-**Localization**: Support for multiple languages to enhance usability for global audiences.
26
+
-**Alternate Row Colors**: Apply alternate row coloring for better readability and aesthetics.
27
+
-**Cell & Row Context Flyout**: Provides context flyouts for cells and rows to allow quick actions. *(not available on uno)*
28
+
29
+
## Uno Platform Support
30
+
31
+
`WinUI.TableView` is compatible with the Uno Platform(WASM, Desktop), enabling you to use the control across multiple platforms.
28
32
29
33
## Getting Started
30
34
35
+
### 1: Install NuGet Package
36
+
Install the `WinUI.TableView` NuGet package in your Uno Platform project:
37
+
```bash
38
+
Install-Package WinUI.TableView
39
+
31
40
### 1: Install NuGet package to your project
32
41
33
42
You can install the `WinUI.TableView` NuGet package using the NuGet Package Manager or by running the following commandin the Package Manager Console:
@@ -53,12 +62,12 @@ In your `MainWindow.xaml`, add the `WinUI.TableView` control:
@@ -151,7 +160,11 @@ You can customize the appearance and behavior of the `TableView` by modifying it
151
160
- **Column Customization**: Define custom columns based on data types.
152
161
- **Is ReadOnly**: You can make any column or the TableView itself read only.
153
162
- **Sorting and Filtering**: Enable sorting and filtering on specific columns or for the all columns.
154
-
-**TableView Options**: Turn on or off options flyout for the TableView based on your requirements.
163
+
- **Corner Button Mode**: Use the `CornerButtonMode` property to configure the corner button's behavior. You can selectfrom:
164
+
- `None`: No corner button.
165
+
- `SelectAll`: Displays a "Select All" button.
166
+
- `Options`: Displays an options menu.
167
+
- **Column Header and Cell Styles**: Customize the styles for column headers and cells to match your application's theme or specific design requirements.
155
168
156
169
```xml
157
170
<tv:TableView x:Name="MyTableView"
@@ -191,6 +204,10 @@ You can customize the appearance and behavior of the `TableView` by modifying it
191
204
192
205
Contributions are welcome 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.
0 commit comments