Skip to content

v1.2.0

Compare
Choose a tag to compare
@w-ahmad w-ahmad released this 14 Aug 19:29
· 23 commits to main since this release

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