_dr = parent.data.view.sys.village_request_res.Select("id_village = '" + village["id"].ToString() + "' ");
if (_dr.Length > 0)
{
dgVillageRequestRes.DataSource = _dr.CopyToDataTable();
dgVillageRequestRes.Columns["id_village"].IsVisible = false;
dgVillageRequestRes.Columns["name"].IsVisible = false;
dgVillageRequestRes.Columns["priority"].ReadOnly = false; //DON'T WORK
}
else { dgVillageOper.DataSource = null; }
I cannot edit cells in the Columns["priority"] column. Help fix!