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.
Unfortunately, activation email could not send to your email. Please try again.

Load dynamic data

Thread ID:

Created:

Updated:

Platform:

Replies:

92278 Dec 31,2009 10:50 AM Dec 31,2009 11:32 AM Silverlight 1
loading
Tags: GridControl
Jeff Carre
Asked On December 31, 2009 10:50 AM

Hi,

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 ?

Thanks,

Happy new year !!

J-F

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On December 31, 2009 11:32 AM

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,

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=python_grid.png

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.

Thanks,
Fahad

CONFIRMATION

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.

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.

;