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.

Using List as ItemsSource of GridData in WPF

Thread ID:

Created:

Updated:

Platform:

Replies:

109838 Jul 7,2013 06:26 AM Jul 25,2013 12:38 PM WPF 1
loading
Tags: GridControl
Jarek
Asked On July 7, 2013 06:26 AM

Hi.
I have my old app in WPF and I'm using simple List<MyObject> like a ItemsSource of grid (regular grid from wpf). I have all logic which connect to WCF Service etc. In this list I have fresh data all time. And my grid in my app is reacting on changes in List<MyObject> and this list is reacting on changes in grid. (Twoway). 

But i want change my old regular grid to griddata from ver. 11.1.0.21 and it's not work. I dont want changes all logic, create model, viewmodel etc. I want use the same List which i could use wiht my olg grid.

Can I use GridData to react on changes in List<MyObject> and vice versa ?


My old standard xaml is look like:
http://pastebin.com/C44DBwFF (ItemsSource=List<MyObject>)

MyOjbect contain:
bool properties1;
SomeClass object;

SomeClass object contain:
str Name, str Other1, str Other2

And it's all - have any OBservableCollection, EF, DataContext. 

Gobinath A [Syncfusion]
Replied On July 25, 2013 12:38 PM

Hi Jarek,

 

Sorry for the delay in getting back to you.

 

We have analyzed your query and we have prepared the sample in MVVM Pattern with ItemSource like list as you mentioned.

 

Please find the attached sample n the following location.

 

Sample: GDC_Sample.zip

 

Please let us know if you have any queries.

 

Regards,

Gobinath A.

 


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.

;