0

私のコード:

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 の別のセル値に基づいて同じ行の別のセルを無効にする方法は?

4

1 に答える 1

0

e.GetValue("fieldname")私は自分の目標を使用して達成しました。

于 2012-12-31T11:58:39.643 に答える