Skip to content

v1.3.0

Latest
Compare
Choose a tag to compare
@w-ahmad w-ahmad released this 24 Apr 14:46
· 17 commits to main since this release
b41522b

🌟 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, GridLinesVisibility properties. Other related properties are VerticalGridLinesStrokeThickness, HorizontalGridLinesStrokeThickness, VerticalGridLinesStroke, HorizontalGridLinesStroke. #74
  • Alternate Row Colors: Adding support for alternate row background and foreground colors. You can set these colors to AlternateRowBackground and AlternateRowForeground properties. #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 CellContextFlyout and row context flyout to RowContextFlyout. #85, #38.
  • Custom Sorting and Filtering: Implemented IColumnFilterHandler and introduced Sorting, ClearSorting events 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 CornerButtonMode to choose corner button functionality. With this implementation ShowOptionsButton property is replaced with CornerButtonMode property. #80, #23.
  • Tag Property: Tag property is added to the TableViewColumn type. #84, #49.
  • Customize Column Headers: Column headers style can be set through TableView.ColumnHeaderStyle and TableViewColumn.HeaderStyle.
  • Customize Cells styles: Cell style can be set through TableView.CellStyle and TableViewColumn.CellStyle.
  • Element & Editing Element Style: TableViewBoundColumn elements and editing elements style can be set through ElementStyle and `EditingElementStyle.
  • Added RowMinHeight property. #110
  • Added PlaceholderText property for TimeColumn.
  • Exposed ScrollRowIntoView and ScrollCellIntoView methods. #123
  • Ensure cells when using different ItemsPanel other than ItemsStackPanel.
  • Disallow selection and option buttons while editing.

New Column Types

  • TableViewDateColumn – Supports DateTimeOffset, DateTime, and DateOnly, allowing better handling of date-based data. #87. This type of column uses new TableViewDatePicker control that is designed to work with multiple data types.
  • TableViewTimeColumn – Supports DateTimeOffset, DateTime, TimeOnly, and TimeSpan, improving time-based data representation. #87. This type of column uses new TableViewTimePicker control that is designed to work with multiple data types.

What's Changed

  • AdvancedCollectionView from Community Toolkit is replaced with custom type CollectionView. 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

  • ShowOptionsButton property has been removed in favor of CornerButtonMode property.
  • CollectionView property is now of type ICollectionView.

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 ItemsStackPanel microsoft/microsoft-ui-xaml#9860

New Contributors

Full Changelog: v1.2.2...v1.3.0