This is a migrated thread and some comments may be shown as answers.

[Solved] Dinamic loading from non simple list

1 Answer 62 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Paolo
Top achievements
Rank 1
Paolo asked on 17 Aug 2009, 12:05 PM
I have to fill a RadGridView dinamically with a list of items, where an item is basically a list of strings. Each item should become a row of the RadGridView. The number of columns and rows are known at runtime. Each rows

Using .ItemsSource with the whole item fills the grid as a simple list do, 1 column and n rows, where n is the total number of strings. Using a bidimensional array of strings has the same effect.

If I try creating GridViewDataColumn I'don't know how to bind the right value to the column using .DataMemberBinding.

Any suggestion? Thank you.

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 17 Aug 2009, 12:11 PM
Hello Paolo,

If you want to create dynamic data structures in Silverlight I suggest you to check my blog post:
http://blogs.telerik.com/vladimirenchev/posts/09-04-23/lightweight_datatable_for_your_silverlight_applications.aspx

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Paolo
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or