Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

While trying to implement TableView into my app, I noticed a thing called DataTable which playing around with the code (probably not related to TableView). It seems perfect for quickly and easily adding dynamic columns and could significantly simplify the process of implementing advanced custom control over columns and rows. It could also potentially solve #56 and be something to add to the docs

You must be logged in to vote

WinUI.TableView is designed to work with collections that inherit from IList, such as ObservableCollection or List. DataTable, on the other hand, is not supported directly as a data source for TableView. If you want to use data from a DataTable, you’ll need to convert its rows into a supported collection type first.

Replies: 1 comment · 1 reply

Comment options

WinUI.TableView is designed to work with collections that inherit from IList, such as ObservableCollection or List. DataTable, on the other hand, is not supported directly as a data source for TableView. If you want to use data from a DataTable, you’ll need to convert its rows into a supported collection type first.

You must be logged in to vote
1 reply
@Georgios1999
Comment options

Thanks for clearing it out! 🙏

Answer selected by Georgios1999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.