You can use code below:
protected void ASPxGridView1_CommandButtonInitialize(object sender, ASPxGridViewCommandButtonEventArgs e)
{
ASPxGridView grid = (sender as ASPxGridView);
if (e.ButtonType == ColumnCommandButtonType.SelectCheckbox)
{
if(grid.GetRowValues(e.VisibleIndex, "ID").ToString() == "1")
{
e.Enabled = false;
}
else
{
e.Enabled = true;
}
}
}
