protected void UltraWebGrid1_InitializeRow(object sender, RowEventArgs e)
{
if (!e.Row.Cells.FromKey("SENDSTATUS").Text.Equals("编辑"))
{
(((UltraWebGrid1.Bands[0].Columns[0] as TemplatedColumn).CellItems[e.Row.Index] as CellItem).FindControl("CheckBoxName") as HtmlInputCheckBox).Attributes.Add("disabled", "true");
}
}
UltraWebGrid根据单元格内容禁用checkbox列
最新推荐文章于 2020-11-07 15:43:58 发布