Property/Data context is only updated when GridViewComboBoxColumn loses its focus

0 Answers 47 Views
GridView
Shraddha
Top achievements
Rank 1
Shraddha asked on 21 May 2024, 07:00 AM

Hi,

in my project there is one RadGridView is present. Inside it there is GridViewComboBoxColumn but whenver I am selecting other item from that comboboxcell, binded property setter is not being called and as a result datacontext also remains same.

But whenever cell of that combobox column loses the focus property setter is called and as a result datacontext is fixed.

 So, I found one workaround that is I added UpdateSourceTrigger=PropertyChanged property for my DataMemberBinding like below:
DataMemberBinding="{Binding ****, UpdateSourceTrigger=PropertyChanged}"


So it started working whenever I am selecting other item from that comboboxcell, binded property setter is being called and as a result datacontext also updated.

But the issue is that whenever 
comboboxcell loses its focus then again binded property setter is called the second time, which I don't want.

Dimitar
Telerik team
commented on 22 May 2024, 07:12 AM

Hi Shraddha, 

You have a similar post that was resolved and seems connected: Property/Data context is only updated when GridViewComboBoxColumn loses its focus in UI for WPF. 

Have you achived what you need and is this still and issue?

I am looking forward to your reply.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Shraddha
Top achievements
Rank 1
Share this question
or