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

Bind dynamic data with CollectionView

1 Answer 330 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 18 Jul 2013, 02:11 PM
Hi,
We have a requirement of binding the RadGridView with dynamic data.  Whenever a new data comes in, I am assigning that data like this
public ICollectionView SampleView{get;set;}

// ViewModel where dynamic data gets updated.
this.SampleView =new CollectionViewSource { Source = dummyCollection}.View;

In XAML
<telerik:RadGridView Grid.Row="0"
 
 ItemsSource ="{Binding SampleView}" 
/>
This is the way I am binding the itemssource, but the UI is not getting bound. Kindly help.

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 18 Jul 2013, 02:14 PM
Hi,

The ItemsSource of the GridView will be updated once a CollectionChanged event of the bound source collection is raised.
 

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Raj
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or