Hi,
I'm trying to set the editable propery of a column depending on an other field of the model.
You have this example in the documentation: kendoGridReactiveEditing
Let's say, if the field 'Discontinued' is false, I would like to disable the editable property of the product name field. For this, I added this to the column definition:
<kendo-grid-column field="ProductName" title="Product Name" [editable]="formGroup.controls.Discontinued"></kendo-grid-column>
But it says then: 'Error: Cannot read properties of undefined (reading 'controls')'
How can I then access the formgGroup variable in the template?
Thanks.