A light weight TableView component for WinUI3
MIT License
Bot releases are visible (Hide)
CellTemplateSelector
and EditingTemplateSelector
properties in TableViewTemplateColumn
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.Visibility
property for columns to hide or show columns at runtimeComboBoxColumn
IsEditable
makes the ComboBox editable.TextBidning
allow to bind ComboBox.Text
propertySelectedValueBinding
allow to bind ComboBox.SelectedValue
.GridLength
as Width
type. The default value for column is now set to GridLength.Auto
.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'GenerateElement
and GenerateEditingElement
for columns.GridLength
as width.GetSelectedRowsContent
to GetSelectedContent
GetAllRowsContent
to GetAllContent
OnExportSelectedRowsContent
to OnExportSelectedContent
OnExportAllRowsContent
to OnExportAllContent
ExportSelectedRowsContent
to ExportSelectedContent
ExportAllRowsContent
to ExportAllContent
TableViewExportRowsContentEventArgs
to TableViewExportContentEventArgs
ItemsSource
can lead to unexpected cell or row navigation behavior. https://github.com/microsoft/microsoft-ui-xaml/discussions/9803
Full Changelog: https://github.com/w-ahmad/WinUI.TableView/compare/v1.1.1...v1.2.0
Published by w-ahmad 3 months ago
CellTemplateSelector
and EditingTemplateSelector
properties in TableViewTemplateColumn
ComboBox
of TableViewComboBoxColumn
was not able to open.ItemsSource
can lead to unexpected cell or row navigation behavior.Full Changelog: https://github.com/w-ahmad/WinUI.TableView/compare/v1.2.0-preview1...v1.2.0-preview2
Published by w-ahmad 4 months ago
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.Visibility
property for columns to hide or show columns at runtimeComboBoxColumn
IsEditable
makes the ComboBox editable.TextBidning
allow to bind ComboBox.Text
propertySelectedValueBinding
allow to bind ComboBox.SelectedValue
.GridLength
as Width
type. The default value for column is now set to GridLength.Auto
.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'GenerateElement
and GenerateEditingElement
for columns.GridLength
as width.GetSelectedRowsContent
to GetSelectedContent
GetAllRowsContent
to GetAllContent
OnExportSelectedRowsContent
to OnExportSelectedContent
OnExportAllRowsContent
to OnExportAllContent
ExportSelectedRowsContent
to ExportSelectedContent
ExportAllRowsContent
to ExportAllContent
TableViewExportRowsContentEventArgs
to TableViewExportContentEventArgs
ItemsSource
can lead to unexpected cell or row navigation behavior.Full Changelog: https://github.com/w-ahmad/WinUI.TableView/compare/v1.1.1...v1.2.0-preview1
Published by w-ahmad 5 months ago
CanFilter
set to falseFull Changelog: https://github.com/w-ahmad/WinUI.TableView/compare/v1.1.0...v1.1.1
Published by w-ahmad 6 months ago
Contains
instead of StartsWith
when searching. (Thanks to @XamlBrewer ) #6TableView.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.Full Changelog: https://github.com/w-ahmad/WinUI.TableView/compare/v1.0.0...v1.1.0
Published by w-ahmad 6 months ago
Published by w-ahmad 7 months ago
AutoGenerateColumns = false
.ShowExportOptions = true
.GetAllRowsContent(bool includeHeaders, char separator)
GetSelectedRowsContent(bool includeHeaders, char separator)
Published by w-ahmad 8 months ago
Published by w-ahmad 8 months ago
-- 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
Published by w-ahmad 9 months ago
v1.0.0-preview1
Published by w-ahmad 9 months ago
v1.0.0-preview1