This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello We are using Entity Framework (code first) to read and write to our data base. Because we found that the Data Grid had problems with the filtering function when working with Entity Framework proxy objects we turned of the proxy functionality. This in turn turned off the change tracking on the objects. Therefor it would be good if we could somehow track when objects are updated by changing their values in the DataGrid. The problem is that I, no matter what I try, can't get any of the related events to fire when I edit and object in the DataGrid and therefor I can't really track what changes have been made. I wonder if you have an example of how I could get such a scenario to work? Best regards |
|
|
Hi Nicklas, The best event that we have for this is DataGrid.ValidateCell. This event gets raised whenever a cell value changes. The event arguments include the Cell model object which can be used to get the cell-value if you need it. A simple example of using this event can be found in the Sample Explorer demo - DataGrid -> Data validation. Let me know if you have further questions. -Jason Fauchelle |
|