Repository navigation
Does TableView work with DataTable? #224
Answered
by
w-ahmad
nightly-oss
asked this question in
Q&A
|
While trying to implement TableView into my app, I noticed a thing called |
Answered by
w-ahmad
Oct 15, 2025
Replies: 1 comment 1 reply
|
|
1 reply
Answer selected by
nightly-oss
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WinUI.TableViewis designed to work with collections that inherit fromIList, such asObservableCollectionorList.DataTable, on the other hand, is not supported directly as a data source for TableView. If you want to use data from aDataTable, you’ll need to convert its rows into a supported collection type first.