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

[Solved] Get grid to recognize changes to other properties

1 Answer 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
FinallyInSeattle
Top achievements
Rank 1
FinallyInSeattle asked on 19 Oct 2011, 12:50 AM
Using Batch editing.

I have a scenario where I'm updating a different property of the same class that a grid is bound to.  I'm using grid.dataItem(myRow) to get the underlying object and then am updating the property.  This all works fine as long as a property that is shown in the grid is updated as well - both updates flow back to the controller. 

My issue is when the only changes to a record are these "behind the scenes" ones.  hasChanges() is false and there's no entries in grid.changeLog.  Is there some way to get the grid to recognize that a change has been made?

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 19 Oct 2011, 12:25 PM
Hi Finallyinseattle,

I'm afraid that there is no easy way to implement such functionality.

All the best,
Rosen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
FinallyInSeattle
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or