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

[Solved] Pasting a value to ComboBox column does not refresh the cell

2 Answers 148 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Amit Patel
Top achievements
Rank 1
Amit Patel asked on 20 Jul 2011, 08:22 PM
Hello,
I just ran into the issue when i tried to copy and past a value to a column that has a combo box, it does not fresh the cell with the updated value. The pasted value seems to be setting on underline field, but doesn't show up unless i reload the data to grid.

How can i refresh the cell manually so that updated value show up?

Thanks,
Amit

2 Answers, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 21 Jul 2011, 07:32 AM
Hi Amit Patel,

I have tested the issue you reported, but I was not able to reproduce it. Once I copy an item and paste it afterwards, all the values are set property, even on the GridViewComboBoxColumn. May you take a look at the sample attached to verify whether there are no misunderstandings ?
 

Best wishes,
Maya
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Amit Patel
Top achievements
Rank 1
answered on 29 Jul 2011, 03:20 PM
I figured it out. The ViewModel gets notified when there is a property changed in the model, and since this was a custom property, View Model wasn't firing a property changed. Once I fixed that, it is working.
Thanks for the support thought!
Amit
Tags
GridView
Asked by
Amit Patel
Top achievements
Rank 1
Answers by
Maya
Telerik team
Amit Patel
Top achievements
Rank 1
Share this question
or