We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Get Cell Edit value

Thread ID:





102031 Dec 15,2011 02:00 PM UTC Jan 6,2012 01:06 PM UTC WPF 2
Tags: GridControl
Darran White
Asked On December 15, 2011 02:00 PM UTC

I`m using

grid.CurrentCellEditingComplete += new Syncfusion.Windows.ComponentModel.GridRoutedEventHandler(grid_CurrentCellEditingComplete);

to get the value being edited before its set in the underlying object. But I don`t know how to get the new Edit value.

Returns the old Value not the new edited value.

Any ideas on how to get the new Edited value before its set in the underlying object.



Darran White
Replied On December 15, 2011 03:20 PM UTC

I worked it out. Might be good to have this in the docs somewhere as its not too obvious



void grid_CurrentCellEditingComplete(object sender,SyncfusionRoutedEventArgs args)

//Get the cell that was updated
var currentCell = grid.Model.Grid.CurrentCell;

//Get the value being updated
var val = currentCell.Renderer.ControlValue;

Sankara Narayanan N [Syncfusion]
Replied On January 6, 2012 01:06 PM UTC

Hi Darran,

Thanks for the update.
Sure, we will add the documents in any of our upcoming release.

Please let us know if you need more information, we are happy to help you out.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon