We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Load dynamic data

Thread ID:





92278 Dec 31,2009 03:50 PM UTC Dec 31,2009 04:32 PM UTC Silverlight 1
Tags: GridControl
Jeff Carre
Asked On December 31, 2009 03:50 PM UTC


I'm trying to bind a grid with dynamic data which I don't know neither the number, neither the name before I get them.
For instance, I can have a grid with 2 companies and data (column headers will be company's names), but it depends on what we choose, we can have 3 or more companies.
I juste can't create a class with the companies as properties because I don't how many I'll need.
I tried to create dynamically visibleColumns for each company, and to bind itemSource with a List> in order to fill the grid with data.

But it doesn't work, can't we give to the grid a List> ? Or is there any other possibility ?


Happy new year !!


Mohamed Suhaib Fahad A. [Syncfusion]
Replied On December 31, 2009 04:32 PM UTC

Hi Jeff,

Thanks for using Syncfusion products. The only solution to your problem of dynamic objects would be to use the "dynamic" feature in C# 4.0, we have made some research over using C# 4.0 dynamic objects that can be used with the grid. As a result, we were able to bind to objects from IronPython, IronRuby etc., Below is a screenshot of our works with it,


We are still investigating options to enable all the functions to work. You can create a direct trac incident for further follow up. Please let me know if you need any other details.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon