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

Bind inner array from observable collection object

3 Answers 301 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Iron
Thomas asked on 24 Jul 2017, 02:20 PM

Greetings,

i just tried to bind my observable collection object (some simple properties and a array) on the RadGridView but i don't figured out how to bind the inner array to the grid.

The array just contains a dynamic int property and i'm using MVVM.

 

thanks!

 

 

 

3 Answers, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 27 Jul 2017, 08:28 AM
Hello Thomas,

I've prepared a small sample project to demonstrate such a scenario.

Could you please have a look and let me know of any modifications I should make to better resemble your setup? Providing more details on your exact requirements will also be of help.

I'm looking forward to your reply.

Regards,
Dilyan Traykov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Thomas
Top achievements
Rank 1
Iron
answered on 27 Jul 2017, 09:38 AM

Hey Dilyan,

 

thank you for the great example!

But it seems that my explanation was not so clear. 

At the end i tried to make a grid with every day of a month in one row with multiple month.

Thank you again for your help! I hope you understand my problem now.

 

0
Dilyan Traykov
Telerik team
answered on 31 Jul 2017, 02:36 PM
Hello Thomas,

I've attached a modified version of the project based on the Binding Columns From ViewModel demo of the SDK Samples Browser in an attempt to better replicate your scenario.
 
If you still do not find this helpful, please share more details on your exact requirements so that I can better assist you with your specific setup. Providing some code snippets of your business objects may also help me get a better understanding of the desired result.

Regards,
Dilyan Traykov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
Thomas
Top achievements
Rank 1
Iron
Answers by
Dilyan Traykov
Telerik team
Thomas
Top achievements
Rank 1
Iron
Share this question
or