Posted 10 December 2017, 3:34 am EST
Hello,
I am using C1 Datagrid. I am using DataGridTemplateColumn in order to show numeric updown/combobox in a datagrid cell.
This column is data binded with a property in viewmodel and is updated in a background loop.
User is also allowed to update this using numeric updown and if user updates the value, preference is needed to be given to that value.
Is there any way this can be achieved? I tried to intercept ValueChanged event of the numeric updown through EventToCommand (MVVM) however this didn’t work as I get only value not the sender. (I need to take certain decisions over the sender)
I tried to do in the code behind but didnt not work.
Also tried with DataGridNumeric column but could not find relevant event.
Request you to guide over this.
Thank you.
Regards,
Mayur