Home Forums WinForms controls Xceed Grid for WinForms Allow edit on only one cell in grid Reply To: Allow edit on only one cell in grid

User (Old forums)
Member
Post count: 23064

I made a change to the Data row Template and set AllowCellNavigation = true and I can not select the cell.

I have the following action:

private void dataRowTemplate1_EditEnded(object sender, EventArgs e)
{
Xceed.Grid.Cell cell = (Xceed.Grid.Cell)sender;
int itemID = int.Parse(cell.Value.ToString());
MessageBox.Show(“itemID:” + itemID);
}

What I’m trying to do is show a message that shows the value of the text that has just been updated after the user has finished the update. But the above does not seem to work. Am I doing this right?

Imported from legacy forums. Posted by ric (had 366 views)