Releases: w-ahmad/WinUI.TableView
Releases Β· w-ahmad/WinUI.TableView
v1.4.0-preview1
WinUI.TableView v1.4.0-preview1
π New Features
- Added support for non-scrollable row headers. #210 by @w-ahmad
- Added Frozen Columns support. #223 (see #154) by @w-ahmad
- Added Row Details support. #228 by @w-ahmad
- Added Conditional cell styling for better customization. #253 by @w-ahmad
- Added cell editing events (BeginningEdit, PreparingCellForEdit, CellEditEnding, CellEditEnded). #235 (see #90) by @w-ahmad
- Added column reordering functionality (drag-and-drop). #240 by @w-ahmad
- Added
ClipboardContentBindingto customize copy-to-clipboard content. #243 by @w-ahmad - Added unified FontSize and FontFamily acrrose the
TableView. #254 by @w-ahmad - Added standard Fluent Compact sizing to the
TableView. #255 by @w-ahmad - Added XAML Hot Reload support when adding columns. #203 (see #20) by @w-ahmad
- Added filter flyout trigger with right-click. #193 (see #62) by @SISTF
- Implemented new Uno row style to match WinUI. #242 by @w-ahmad
Whatβs New
- Use compiled expressions to fetch cell content for sort, filter, and clipboard operations. #178 by @DanielTrommel
- Added pt-BR translations. #230 by @josuelopes512
- Upgraded Uno.WinUI to 6.2.87. #242 by @w-ahmad
- Exposed
RefreshViewandRefreshSortingmethods. #185 by @RolandBuchholz - Exposed
AllowLiveShapingproperty to turn of live shaping of the view. #248 by @w-ahmad
Native AOT
- Added
IsAOTCompatibleflag to enable Native AOT compatibility (does not suppress IL warnings). #217 by @licon4812
Fixes
Breaking Changes
CellsPresenterwas renamed toTableViewRowPresenteras part of adding Row Details. Row Details were implemented in the CellsPresenter, expanding it to present both rows and cells; accordingly,TableViewCellsPresenterbecameTableViewRowPresenter. #228
Behavior Changes
TableViewBoundColumn.BindingdefaultsUpdateSourceTriggertoExplicit(fromDefault) to prevent unintended updates and allow Esc to cancel edits. #235
New Contributors
- @SISTF made their first contribution in #187
- @RolandBuchholz made their first contribution in #185
- @josuelopes512 made their first contribution in #230
- @AlexanderBlackman made their first contribution in #246
Full Changelog: v1.3.4...v1.4.0-preview1
v1.3.4
Fixes
- Fixed an issue where
TableViewTemplateColumncell content was not setting the horizontal alignment correctly. #234 by @w-ahmad - Fixed an issue where
Bindingwas not working with WinRT generated properties in columns. #233 by @licon4812
Full Changelog: v1.3.3...v1.3.4
v1.3.3
Fixes
- Fixed an issue where
TableViewTemplateColumnwas not setting templates correctly when template selectors were used. #188 by @w-ahmad - Possibly fixed an issue where
x:Bindwas not working inside the templates ofTableViewTemplateColumn. #211 by @w-ahmad - Fixed a memory leak issue with cell selection changes. by @w-ahmad
- Fixed an issue where
Bindingwas not working with WinRT generated properties. #207, #140 by @licon4812 - Fixed an issue where
TableViewComboBoxwas displaying incorrect data when DisplayMemberPath is set. #208 by @w-ahmad
Full Changelog: v1.3.2...v1.3.3
v1.3.2
Fixes
- Fixed blank values handling in column filter by @w-ahmad in #162
- Fixed sort and filter issues with array bindings by @DanielTrommel in #166 & #177
- Added defer refresh on sorting to keep h scroll offset by @w-ahmad in #167
- Fixed cell and row measure issues by @w-ahmad in #165
- Fixed auto row height issue by @w-ahmad in #165
- Fixed auto header row height issue by @w-ahmad in #184
- Fixed WebView2Loader.dll not found issue by @w-ahmad in #182
- Improved auto generate column process by @w-ahmad in #163
- Fixed DataContext of ContextFlyouts on Uno by @w-ahmad in #186
New New
- Added
TableView.HeaderRowMinHeight&TableView.HeaderRowMaxHeightproperties - Added zh-CN strings by @lostluna1 in #161
- Added zh-TW strings @lostluna1 in #161
- Fixed ru-RU strings by @slick1983 in #174
Breaking Changes
TableView.RowHeightvalue is changed todouble. NaN, it was set to40d.TableView.HeaderRowHeightvalue is changed todouble. NaN, it was set to32d.
New Contributors
- @DanielTrommel made their first contribution in #166
- @lostluna1 made their first contribution in #161
Full Changelog: v1.3.1...v1.3.2
v1.3.1
What's New
- Use WinUI.TableView on all Uno Platform targets including Android & iOS.
- Cell and Row context flyout now works with Uno.
- Added ru-RU translations by @slick1983 in #145
- Exposed
CellSelectionChangedevent #151 - Exposed
CurrentCellChangedevent #151 - Exposed
CurrentCellSlotproperty #151
Fixes
- Fixed row and cell selection on Uno platform #147
- Fixed double tap cell edit issue when
SelectionUnitis set toRow#149 - Fixed cell focus jump issue with Escape key #150
- Fixed TimePicker column issue with formatting and flyout opening.
- Fixed issue where selected row doesn't show properly at the top.
- Fixed cell focus issue on Uno.
- Fixed issue where template selector wasn't working in template column #153 @w-ahmad
New Contributors
- @slick1983 made their first contribution in #145
Full Changelog: v1.3.0...v1.3.1
v1.3.0
π Highlights
- Upgraded to .NET8
- Added Uno Platform Support
- Localization Support
- GridLines support
- Cell & Row Context Flyout
- Custom Sorting and Filtering
What's New
- Localization support: added localization support to the control. thanks to @VisualAlf for de-DE translations and @arthurits for es-ES translations. #113, #116, #126
- Gridlines: Adding support for customizable horizontal and vertical gridlines. These gridlines are enabled by default but can be turned off using
HeaderGridLinesVisibility,GridLinesVisibilityproperties. Other related properties areVerticalGridLinesStrokeThickness,HorizontalGridLinesStrokeThickness,VerticalGridLinesStroke,HorizontalGridLinesStroke. #74 - Alternate Row Colors: Adding support for alternate row background and foreground colors. You can set these colors to
AlternateRowBackgroundandAlternateRowForegroundproperties. #83, #21. - Cell & Row Context Flyout: Added support for context flyouts on cells and rows, enabling custom actions via right-click menus. You can set cell context flyout to
CellContextFlyoutand row context flyout toRowContextFlyout. #85, #38. - Custom Sorting and Filtering: Implemented
IColumnFilterHandlerand introducedSorting,ClearSortingevents for allowing developers to define custom logic for data manipulation. #98, #30, #55, #77, #92. - Three-State Column Sorting: Enhanced sorting functionality to include three states (Ascending, Descending, and None) for better user experience. #98, #37.
- Corner Button Mode: Implemented
CornerButtonModeto choose corner button functionality. With this implementationShowOptionsButtonproperty is replaced withCornerButtonModeproperty. #80, #23. - Tag Property:
Tagproperty is added to theTableViewColumntype. #84, #49. - Customize Column Headers: Column headers style can be set through
TableView.ColumnHeaderStyleandTableViewColumn.HeaderStyle. - Customize Cells styles: Cell style can be set through
TableView.CellStyleandTableViewColumn.CellStyle. - Element & Editing Element Style:
TableViewBoundColumnelements and editing elements style can be set throughElementStyleand `EditingElementStyle. - Added
RowMinHeightproperty. #110 - Added
PlaceholderTextproperty for TimeColumn. - Exposed
ScrollRowIntoViewandScrollCellIntoViewmethods. #123 - Ensure cells when using different
ItemsPanelother thanItemsStackPanel. - Disallow selection and option buttons while editing.
New Column Types
- TableViewDateColumn β Supports
DateTimeOffset,DateTime, andDateOnly, allowing better handling of date-based data. #87. This type of column uses newTableViewDatePickercontrol that is designed to work with multiple data types. - TableViewTimeColumn β Supports
DateTimeOffset,DateTime,TimeOnly, andTimeSpan, improving time-based data representation. #87. This type of column uses newTableViewTimePickercontrol that is designed to work with multiple data types.
What's Changed
AdvancedCollectionViewfrom Community Toolkit is replaced with custom typeCollectionView. This change allows better handling of items and offers good features integration with TableView. #91
Fixes
- Fixed select all check box fast click issue. #61, #81
- Crashes by empty property paths in column binding is fixed. #42, #91
- Fixed a crash when there are null values in primitive type column. #89, #91
Breaking Changes
ShowOptionsButtonproperty has been removed in favor ofCornerButtonModeproperty.CollectionViewproperty is now of typeICollectionView.
Known Issues
- Changing grid line thickness or visibility property at runtime may lead to unexpected layouts of column headers and row cells. This is due to an issue in
ItemsStackPanelmicrosoft/microsoft-ui-xaml#9860
New Contributors
Full Changelog: v1.2.2...v1.3.0
v1.3.0-preview2
Uno Platform Support
This release adds Uno Platform support to WinUI.TableView, enabling compatibility with WASM, macOS, and Linux.
What's New
- Added
RowMinHeightproperty. #110 - Added localization support, thanks to @VisualAlf for de-DE translations and @arthurits for es-ES translations. #113, #116, #126
- Added
PlaceholderTextproperty for TimeColumn. - Exposed
ScrollRowIntoViewandScrollCellIntoViewmethods. #123
What's Changed
- Fixed vertical grid lines visibility issue.
- Fixed alternate row colors issue with theme changes. #95
- Fixed date column placeholder text issue.
- Fire ContextFlyoutOpened even if Flyout is null by @VisualAlf in #108
- Changed default types for date and time column in #124
New Contributors
- @VisualAlf made their first contribution in #108
- @arthurits made their first contribution in #126
Full Changelog: v1.3.0-preview1...v1.3.0-preview2
v1.3.0-preview1
Upgraded to .NET8
What's New
- Gridlines: Adding support for customizable horizontal and vertical gridlines. These gridlines are enabled by default but can be turned off using
HeaderGridLinesVisibility,GridLinesVisibilityproperties. Other releated properties areVerticalGridLinesStrokeThickness,HorizontalGridLinesStrokeThickness,VerticalGridLinesStroke,HorizontalGridLinesStroke. #74 - Alternate Row Colors: Adding support for alternate row background and foreground colors. You can set these colors to
AlternateRowBackgroundandAlternateRowForegroundproperties. #83, #21. - Cell & Row Context Flyout: Added support for context flyouts on cells and rows, enabling custom actions via right-click menus. You can set cell context flyout to
CellContextFlyoutand row context flyout toRowContextFlyout. #85, #38. - Custom Sorting and Filtering: Implemented
IColumnFilterHandlerand introduceedSorting,ClearSortingevents for allowing developers to define custom logic for data manipulation. #98, #30, #55, #77, #92. - Three-State Column Sorting: Enhanced sorting functionality to include three states (Ascending, Descending, and None) for better user experience. #98, #37.
- Corner Button Mode: Implemented
CornerButtonModeto choose corner button functionality. With this implementationShowOptionsButtonproperty is replaced withCornerButtonModeproperty. #80, #23. - Tag Property:
Tagproperty is added to theTableViewColumntype. #84, #49. - Customize Column Headers: Column headers style can be set through
TableView.ColumnHeaderStyleand `TableViewColumn.HeaderStyle. - Customize Cells styles: Cell style can be set through
TableView.CellStyleand `TableViewColumn.CellStyle. - Element & Editing Element Style:
TableViewBoundColumnelements and editing elements style can be set througElementStyleand `EditingElementStyle.
New Column Types
- TableViewDateColumn β Supports
DateTimeOffset,DateTime, andDateOnly, allowing better handling of date-based data. #87. This type of column uses newTableViewDatePickercontrol that is designed to work with multiple data types. - TableViewTimeColumn β Supports
DateTimeOffset,DateTime,TimeOnly, andTimeSpan, improving time-based data representation. #87. This type of column uses newTableViewTimePickercontrol that is designed to work with multiple data types.
What's Changed
AdvancedCollectionViewfrom Community Toolkit is replaced with custom typeCollectionView. This change allows better handling of items and offers good features integration with TableView. #91
Fixes
- Fixed select all check box fast click issue. #61, #81
- Crashes by empty property paths in column binding is fixed. #42, #91
- Fixed a crash when there are null values in primitive type column. #89, #91
Breaking Changes
ShowOptionsButtonproperty has been removed.CollectionViewproperty is now of typeICollectionView.
Known Issues
- Changing grid line thickness or visibility proeprty at runtime may lead to unexpected layouts of column headers and row cells. This is due to an issue in
ItemsStackPanelmicrosoft/microsoft-ui-xaml#9860
Full Changelog: v1.2.2...v1.3.0-preview1
v1.2.2
What's Changed
- Row drag/drop/reorder is working again
- fixed memory leaks with multiple instances of control in #66
- major performance improvemed of column filter flyout in #67
- fixed row navigation with arrow keys when
SelectionUnitis set toRow. - fixed row selection issues by using base class implementations
- bind row height property to the
TableView.RowHeightin #59 - fixed nuget symbol links
Breaking changes
Below dependency properties are now standard properties:
TableViewRow.TableViewTableViewCell.TableViewTableViewCell.TableViewColumnTableViewCell.TableViewRow
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
-
Improved cell & row navigation performance
- Foxed a crash when visibility was set to collapsed at startup #35 #40
- Fixed CheckBox & ToggleSwitch column IsReadOnly #36 #44
- Fixed possible null exception by null annotations #43 #47
- Fixed cell & row navigation behaviors #45
- Fixed current cell highlight behavior #45 #46
- Added source link symbol package
Full Changelog: v1.2.0...v1.2.1

