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

Data binding

2 Answers 149 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Igor
Top achievements
Rank 1
Igor asked on 13 Dec 2019, 08:15 AM

I see that Grid supports binding to INotifyCollectionChanged (https://demos.telerik.com/blazor-ui/grid/observable-data).

It is wonderful!

1) Is that binding supported in other list controls (ComboBox, DropDownList)?

2) Does Telerik support binding to INotifyPropertyChanged? This question applies to all controls.

  • Добавить в Словарь
     
    • Новый список слов для Английский -> Русский...
       
    • Создать новый список слов...
  • Копировать
  • Добавить в Словарь
     
    • Новый список слов для Английский -> Русский...
       
    • Создать новый список слов...
  • Копировать
  • Добавить в Словарь
     
    • Новый список слов для Английский -> Русский...
       
    • Создать новый список слов...
  • Копировать

2 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 13 Dec 2019, 08:30 AM

Hi Igor,

At the moment, this is only available for the grid. There is also a feature request for the TreeView that you can Vote for and Follow: https://feedback.telerik.com/blazor/1433824-binding-to-observablecollection.

If you would like this implemented in all components, I'd encourage you to post a new public feature request for that so we can gather the community feedback and actual scenarios where that would be needed. At this stage, we are not aware of many cases where such changes are needed for most components, usually the entire data would be replaced and StateHasChanged() should take care of the UI update.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
0
Igor
Top achievements
Rank 1
answered on 13 Dec 2019, 09:04 AM
I have created feature request:
https://feedback.telerik.com/blazor/1446090-data-binding-as-in-wpf-and-xamarin-for-the-all-controls
Tags
General Discussions
Asked by
Igor
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Igor
Top achievements
Rank 1
Share this question
or