GridViewDataColumn using other DataContext

0 Answers 175 Views
GridView
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Ohad asked on 18 Nov 2021, 10:02 AM | edited on 18 Nov 2021, 10:29 AM

Hi, 

I have a RadGridView that uses DataContext="A" and I want for one of the GridViewDataColumn to use other DataContext="B".

 

I would be happy if you could explain to me how to do this.

Thanks

Martin Ivanov
Telerik team
commented on 22 Nov 2021, 03:18 PM

The columns in RadGridView are not bound to separate data contexts. Instead, each row has its own data context which is an item from the ItemsSource of RadGridView. If you tell me what exactly you need to achieve I can think of a possible solution for your case.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Share this question
or