我的代码:
protected void ASPxGridView1_HtmlDataCellPrepared(object sender, DevExpress.Web.ASPxGridView.ASPxGridViewTableDataCellEventArgs e)
{
if (e.DataColumn.FieldName == "col7name")
{
// Here I can disable the same cell by the following code:
if ( < condition > )
{
e.Cell.Enabled = false;
}
// But my question is that how to disable another cell in the same row.
}
}
如何根据devexpress aspxgridview中的另一个单元格值禁用同一行中的另一个单元格?