Good night gentlemen,
I'm having trouble with a child grid, I need to disable the column "EstatusID" while editing the column "DesarrolladorID" (both columns have values for their foreignKeyField like 1,2,3...etc)
The thing is, that when EstatusID is 1 I need DesarrolladorID column disabled.
And I need DesarrolladorID column enabled when Estatus has a value of 2 or a bigger number
Also, I would like to know, when I edit EstatusID is there a way to set a value for column DesarrolladorID ??
columns: [
{ field: 'NumeroClientePorDesarrolladorID', visible: false, isPrimaryKey: true, isIdentity: true },
{ field: 'ClienteID', visible: false, defaultValue: e.data.ClienteID },
{ field: 'DesarrolladorID', headerText: 'Desarrollador', foreignKeyField : "DesarrolladorID", foreignKeyValue : "NombreDesarrollador", dataSource : @Html.Raw(Json.Serialize(@ViewBag.Desarrolladores)) },
{ field: 'EstatusID', headerText: 'Estaus', foreignKeyField: "EstatusID", foreignKeyValue: "Estatus", dataSource : @Html.Raw(Json.Serialize(@ViewBag.EstatusCliente)) },