وقتی دستور رو تو CurrentCellChange بنویسی خودش هروقت بره رو اون سلول عملیات checking رو انجام میده و اگه 1 بود اون سطر امکان Edit رو میگیره از کاربر و اگه 1 نبود میتونه Edit کنه
private void gridEX1_CurrentCellChanged(object sender, EventArgs e)
{
if (gridEX1.CurrentColumn.Key == "MyCol")
{
if (gridEX1.CurrentRow.Cells["MyCol"].Value.ToString() == "1")
{
gridEX1.RootTable.Columns[gridEX1.CurrentColumn.Key].EditType = Janus.Windows.GridEX.EditType.NoEdit;
}
else
{
gridEX1.RootTable.Columns[gridEX1.CurrentColumn.Key].EditType = Janus.Windows.GridEX.EditType.TextBox;
}
}
}