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

is dirty

1 Answer 162 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Avi Avni
Top achievements
Rank 1
Avi Avni asked on 10 Mar 2011, 10:18 AM

Hello

I need to implement is Dirty in the grid.

If the value in the cell in changed the grid is dirty.

If the value returns to the original value is not dirty.

I try to do this in the cell edit ended and save the cell that dirty

The problem is that the grid generates the cell again so that the cell is not the same.

How can I solve this?

Best regards

Ehud

   

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 15 Mar 2011, 07:40 PM
Hello Ehud Pinchas,

You may try implementing a data presenting UserControl, which keeps track of any changes and stores them in an appropriate dependency property of it. Afterwards, you may use it as a CellTemplate of the columns you want to observe. Of course, you may implement such logic into your ViewModel by creating a property that is set, once any changes occur.


Regards,
Ivan Ivanov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
GridView
Asked by
Avi Avni
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or