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

To read Silver light Syncfusion Grid cell Text

Thread ID:





95080 Jun 19,2010 09:07 AM UTC Jun 23,2010 09:13 AM UTC Silverlight 1
Tags: GridControl
Faizal Ahmd
Asked On June 19, 2010 09:07 AM UTC

Dear All,
I wish to read the silver light syncfusion grid current active editable cell value. When the cell is edited and also currently active ,i could not able to read the currently edited cell value.

Thanks and Regards,
Faizal Ahmed.H

Jeraldes J [Syncfusion]
Replied On June 23, 2010 09:13 AM UTC

Hi Faizal,

Thank you for your interest in Syncfusion products.

You can use the following C# code to fetch the current active editable cell value.

//Use this CurrentCellChanged event for getting every single key event value change in the editing cell
void JsGrid2_CurrentCellChanged(object sender, Syncfusion.Windows.ComponentModel.SyncfusionRoutedEventArgs args)
GridControl celldata = args.Source as GridControl;
TextBox item = celldata.CurrentCell.ActivateOptions.Element as TextBox;
var value = item.Text;
Console.WriteLine("contains = " + value);

//CurrentCellEditingComplete will get the edited cell value once the cell is edited

void JsGrid2_CurrentCellEditingComplete(object sender, Syncfusion.Windows.ComponentModel.SyncfusionRoutedEventArgs args)
GridControl celldata = args.Source as GridControl;
var item = celldata.Model.CurrentCellState.CellRowColumnIndex;
var contains = this.JsGrid2.Model[item.RowIndex, item.ColumnIndex].CellValue;
Console.WriteLine("[" + item.RowIndex + "," + item.ColumnIndex + "] contains = " + contains);

Let us know if you need any other details

Jeraldes J


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

or the page will be automatically redirected to 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