CellsChanged

private void gridControl1_CellsChanged(object sender, Syncfusion.Windows.Forms.Grid.GridCellsChangedEventArgs e) : e.SavedCellsInfo is allways null! : How can I retrive the change values? Best regards Barbara

1 Reply

AD Administrator Syncfusion Team June 10, 2003 07:43 AM UTC

Try something like:
private void GridCellsChanged(object sender, GridCellsChangedEventArgs e)
{
	int row, col;
	if(e.Range.GetFirstCell(out row, out col))
	{
		Console.WriteLine("({0},{1})", row, col);
		while(e.Range.GetNextCell(ref row, ref col, false))
		{
			Console.WriteLine("({0},{1})", row, col);
		}
	}
}

Loader.
Up arrow icon