Skip to content

Releases: w-ahmad/WinUI.TableView

v1.2.1

12 Oct 14:07
28b04c8
Compare
Choose a tag to compare

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

14 Aug 19:29
Compare
Choose a tag to compare

What's New

  • Introduced CellTemplateSelector and EditingTemplateSelector properties in TableViewTemplateColumn
  • Introduced MinColumnWidth and MaxColumnWidth properties in TableView to set min and max widths for all the columns. These properties can be overridden by setting MinWidth and MaxWidth 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 bind ComboBox.Text property
    • SelectedValueBinding allow to bind ComboBox.SelectedValue.
  • Implemented column auto sizing by using GridLength as Width type. The default value for column is now set to GridLength.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 the SelectionMode property'
    • Cell user can only select cells according to the SelectionMode property'
    • Row user can only select rows according to the SelectionMode property'
  • Exposed GenerateElement and GenerateEditingElement 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 to GetSelectedContent
    • GetAllRowsContent to GetAllContent
    • OnExportSelectedRowsContent to OnExportSelectedContent
    • OnExportAllRowsContent to OnExportAllContent
    • ExportSelectedRowsContent to ExportSelectedContent
    • ExportAllRowsContent to ExportAllContent
    • TableViewExportRowsContentEventArgs to TableViewExportContentEventArgs

Known issues

Full Changelog: v1.1.1...v1.2.0

v1.2.0-preview2

09 Jul 21:13
Compare
Choose a tag to compare
v1.2.0-preview2 Pre-release
Pre-release

What's New

  • Introduced CellTemplateSelector and EditingTemplateSelector properties in TableViewTemplateColumn
  • There won't be a separator at the end of options flyout when export options are hidden.

Bug Fixes

  • Fixed an issue where ComboBox of TableViewComboBoxColumn 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

18 Jun 20:23
Compare
Choose a tag to compare
v1.2.0-preview1 Pre-release
Pre-release

What's New

  • Introduced MinColumnWidth and MaxColumnWidth properties in TableView to set min and max widths for all the columns. These properties can be overridden by setting MinWidth and MaxWidth 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 bind ComboBox.Text property
    • SelectedValueBinding allow to bind ComboBox.SelectedValue.
  • Implemented column auto sizing by using GridLength as Width type. The default value for column is now set to GridLength.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 the SelectionMode property'
    • Cell user can only select cells according to the SelectionMode property'
    • Row user can only select rows according to the SelectionMode property'
  • Exposed GenerateElement and GenerateEditingElement 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 to GetSelectedContent
    • GetAllRowsContent to GetAllContent
    • OnExportSelectedRowsContent to OnExportSelectedContent
    • OnExportAllRowsContent to OnExportAllContent
    • ExportSelectedRowsContent to ExportSelectedContent
    • ExportAllRowsContent to ExportAllContent
    • TableViewExportRowsContentEventArgs to TableViewExportContentEventArgs

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

19 May 15:59
3ab8a94
Compare
Choose a tag to compare

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

05 May 22:12
3cb14af
Compare
Choose a tag to compare

v1.1.0 Release Notes

  • In filter flyout, use Contains instead of StartsWith when searching. (Thanks to @XamlBrewer ) #6
  • Removed package dependencies
  • New properties introduced in this release
    • TableView.IsReadOnly default is false, true makes all the columns read only.
    • TableView.CanUserSort default is true, false makes all the columns unsortable and exiting sorting will be cleared.
    • TableView.CanUserFilter default is true, false makes all the columns unfilterable and existing filter will be removed.
    • TableView.CanResizeColumns default is true, false makes all the columns not resizable.
    • TableView.ShowOptionsButton default is true, 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

20 Apr 19:24
Compare
Choose a tag to compare

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

26 Mar 21:47
Compare
Choose a tag to compare
v1.0.0-preview4 Pre-release
Pre-release
  • 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

05 Mar 22:28
e0d0b9d
Compare
Choose a tag to compare
v1.0.0-preview3 Pre-release
Pre-release
  • 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

v1.0.0-preview2

18 Feb 17:50
d4a1b43
Compare
Choose a tag to compare
v1.0.0-preview2 Pre-release
Pre-release
  • added selected rows data copy to clipboard functionality
  • aligned sorting trigger with standard conventions
  • added options button for bound columns to sort and filter columns