Telerik UI for UWP
is free and open source, you can find it here: https://github.com/telerik/UI-For-UWP
I was not able to find any feature requests for the UWP DataGrid to move away from IEnumerable
in either the GitHub Issues list
or in the official UI for UWP Feedback Portal
. This is the main reason I suspect it has not been implemented in UWP, there just hasn't been much demand.
That being said, I do agree this would be a very useful feature for a UWP application and I recommend you open a Feature Request for DataTable, dynamic or ExpandoObject support. Go here
and click the "Feature Request" button.
> Note that other data source types are supported by the Telerik UI for WPF controls data grid, see RadGridView documentation
Options to move forward
Option 1 - Fork the repo and add support for what you need
This is not usually an option for most people. However, if you are comfortable with building from source, you can fork the repo and add support for exactly what you need. Then, use that version in your projects instead of the Telerik NuGet packages.
Option 2 - Use List<dynamic> (most feasible option)
One thing you can try is to use the dynamic object, that way you don't need a predetermined class to deserialize the JSON into. Here's a prototype example of what I mean:
MainPage : Page
// Instantiate the dynamic as an IEnumerable
// Example Dynamic data
dynamic employee1 =
employee1.Sales = 20;
dynamic employee2 =
employee2.Sales = 9;
// 1 - Create your columns and add them to the DataGrid
// 2 - Set the ItemsSource to your dynamic data
DataGrid.ItemsSource = source;
Though in that example I hard code the property names when creating the columns, you can just use reflection to the get property name out of the ExpandoObejct (or your preferred dynamic object).
Please don't hesitate to leave feedback about the performance issues, missing features and other problems you mentioned where the developers can see and act on it. The UI for UWP Feedback Portal
is the best place because it ties directly into TFS work items, but GitHub Issues are good too.
Thank you for your understanding and for taking the time to read this full message.
Lance | Technical Support Engineer, Principal
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items