Releases: w-ahmad/WinUI.TableView
Releases · w-ahmad/WinUI.TableView
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
SelectionUnit
is set toRow
. - fixed row selection issues by using base class implementations
- bind row height property to the
TableView.RowHeight
in #59 - fixed nuget symbol links
Breaking changes
Below dependency properties are now standard properties:
TableViewRow.TableView
TableViewCell.TableView
TableViewCell.TableViewColumn
TableViewCell.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
v1.2.0
What's New
- Introduced
CellTemplateSelector
andEditingTemplateSelector
properties inTableViewTemplateColumn
- Introduced
MinColumnWidth
andMaxColumnWidth
properties in TableView to set min and max widths for all the columns. These properties can be overridden by settingMinWidth
andMaxWidth
properties for each column. - Added
Visibility
property for columns to hide or show columns at runtime - Added new properties in
ComboBoxColumn
IsEditable
makes the ComboBox editable.TextBidning
allow to bindComboBox.Text
propertySelectedValueBinding
allow to bindComboBox.SelectedValue
.
- Implemented column auto sizing by using
GridLength
asWidth
type. The default value for column is now set toGridLength.Auto
. - Implemented cell selection support so user can select individual cells
- Added new property
SelectionUnit
to choose selection behavior. Available options are:CellOrRow
(Default) user can select rows or cells according to theSelectionMode
property'Cell
user can only select cells according to theSelectionMode
property'Row
user can only select rows according to theSelectionMode
property'
- Exposed
GenerateElement
andGenerateEditingElement
for columns.
Bug Fixes
- Fixed an issue with short keys, sometime the short keys were not working at startup. #25
- Fixed cell layout issue when the size was narrower than the desired width of cell. (temp fix until microsoft/microsoft-ui-xaml#9860 fixed)
- Improved code to pick right column type when auto generating columns.
- Fixed an issue with cell width clamp in min & max widths.
- Removed a separator at the end of options flyout when export options are hidden.
Breaking Changes
- Setting columns widths from code-behind would need adjustments to use
GridLength
as width. - Some methods, events, and event argument classes have been renamed to better align with the manipulation of cell or row content:
GetSelectedRowsContent
toGetSelectedContent
GetAllRowsContent
toGetAllContent
OnExportSelectedRowsContent
toOnExportSelectedContent
OnExportAllRowsContent
toOnExportAllContent
ExportSelectedRowsContent
toExportSelectedContent
ExportAllRowsContent
toExportAllContent
TableViewExportRowsContentEventArgs
toTableViewExportContentEventArgs
Known issues
- Duplicate items in
ItemsSource
can lead to unexpected cell or row navigation behavior. microsoft/microsoft-ui-xaml#9803
Full Changelog: v1.1.1...v1.2.0
v1.2.0-preview2
What's New
- Introduced
CellTemplateSelector
andEditingTemplateSelector
properties inTableViewTemplateColumn
- There won't be a separator at the end of options flyout when export options are hidden.
Bug Fixes
- Fixed an issue where
ComboBox
ofTableViewComboBoxColumn
was not able to open. - Fixed an issue with short keys, sometime the short keys were not working at startup. #25
- Fixed cell selection issue when there is an active column filter. (known issue from previous release)
- Fixed cell layout issue when the size was narrower than the desired width of cell. (known issue from previous release)
- Fixed an issue where cells were not able to select when there is only one column.
Known issues
- Duplicate items in
ItemsSource
can lead to unexpected cell or row navigation behavior.
Full Changelog: v1.2.0-preview1...v1.2.0-preview2
v1.2.0-preview1
What's New
- Introduced
MinColumnWidth
andMaxColumnWidth
properties in TableView to set min and max widths for all the columns. These properties can be overridden by settingMinWidth
andMaxWidth
properties for each column. - Added
Visibility
property for columns to hide or show columns at runtime - Added new properties in
ComboBoxColumn
IsEditable
makes the ComboBox editable.TextBidning
allow to bindComboBox.Text
propertySelectedValueBinding
allow to bindComboBox.SelectedValue
.
- Implemented column auto sizing by using
GridLength
asWidth
type. The default value for column is now set toGridLength.Auto
. - Implemented cell selection support so user can select individual cells
- Added new property
SelectionUnit
to choose selection behavior. Available options are:CellOrRow
(Default) user can select rows or cells according to theSelectionMode
property'Cell
user can only select cells according to theSelectionMode
property'Row
user can only select rows according to theSelectionMode
property'
- Exposed
GenerateElement
andGenerateEditingElement
for columns.
Breaking Changes
- Setting columns widths from code-behind would need adjustments to use
GridLength
as width. - Some methods, events, and event argument classes have been renamed to better align with the manipulation of cell or row content:
GetSelectedRowsContent
toGetSelectedContent
GetAllRowsContent
toGetAllContent
OnExportSelectedRowsContent
toOnExportSelectedContent
OnExportAllRowsContent
toOnExportAllContent
ExportSelectedRowsContent
toExportSelectedContent
ExportAllRowsContent
toExportAllContent
TableViewExportRowsContentEventArgs
toTableViewExportContentEventArgs
Known issues
- Duplicate items in
ItemsSource
can lead to unexpected cell or row navigation behavior. - When the column width is too narrow for the cell's desired width, there would be some layout issues, resulting in the appearance of the right edge being clipped.
- When a filter is applied to any column, cell selection may not function correctly or may behave improperly.
Full Changelog: v1.1.1...v1.2.0-preview1
v1.1.1
v1.1.1 Release Notes
- Enhanced filter flyout functionality and user interface
- Changed the default HeaderRowWidth from 48 to 32 (it was previously 32 until version 1.1.0).
- Make the vertical scrollbar to display under the header row
- Implemented auto resizing column by double clicking on resize area
Fixes
- Fixed column header resize issue when
CanFilter
set to false - Fixed an issue where column resize was using next columns max & min width
Full Changelog: v1.1.0...v1.1.1
v1.1.0
v1.1.0 Release Notes
- In filter flyout, use
Contains
instead ofStartsWith
when searching. (Thanks to @XamlBrewer ) #6 - Removed package dependencies
- New properties introduced in this release
TableView.IsReadOnly
default isfalse
,true
makes all the columns read only.TableView.CanUserSort
default istrue
,false
makes all the columns unsortable and exiting sorting will be cleared.TableView.CanUserFilter
default istrue
,false
makes all the columns unfilterable and existing filter will be removed.TableView.CanResizeColumns
default istrue
,false
makes all the columns not resizable.TableView.ShowOptionsButton
default istrue
,false
will hide the OptionsButton.TableView.HeaderRowHeight
default value is set to 48.
Fixes
- Major performance improvement in handling newly added items.
- Fixed column header layout issues on resize. #3
- 'Select All' command enable state is fixed based on the selection mode. #4
- Copy or export selected items order in output is fixed #5
- Fixed cell width bindings with their column
New Contributors
Full Changelog: v1.0.0...v1.1.0
v1.0.0
WinUI.TableView v1.0.0 Release Notes
Key Features
- Auto Generate Columns
- Excel like column filter
- Export data to CSV or Implement your own export logic
- Support columns sorting
- Inline data editing
Enhancements
- Implemented AutoGenerateColumns property change handlers
- Added events for export and copy data to implement own logics
- ExportAllRowsContent
- ExportSelectedRowsContent
- CopyToClipboard
v1.0.0-preview4
- AutoGenerateColumns is here like the most grid controls has and turned on by default. To turn it off set
AutoGenerateColumns = false
. - Export options are turned off by default to turn them on you can set
ShowExportOptions = true
. - Exposed to methods to implement custom export feature.
GetAllRowsContent(bool includeHeaders, char separator)
GetSelectedRowsContent(bool includeHeaders, char separator)
- improvements to check for open flyouts on cell focus lost.
- fixes some issues where keyboard accelerators where no working properly.
v1.0.0-preview3
- added feature to export rows to (comma delimited) csv file
- fixed issues with column headers row
- fixed an issue where MenuFlyouts icons were not visible on first open