Click here to Skip to main content
15,903,385 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Xtragrid. I want to disable one cell when i change value in specified row. I don't know to access a cell in row. I am using RowCellStyle to disable cell. My code:

C#
void taskView_CellValueChanged(object sender, CellValueChangedEventArgs e)
{      
  taskView.RowCellStyle += new RowCellStyleEventHandler(taskView_RowCellStyle);
}

void taskView_RowCellStyle(object sender, RowCellStyleEventArgs e)
{
  e.Column.OptionsColumn.AllowEdit = false;
}


I want to disable cell in taskView_CellValueChanged. How can i access specified cell ???

Thank you !!!
Posted
Updated 3-Dec-13 21:21pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900