Hi,
I'm using an ig-grid together with AngularJS.
Is it possible to set the read-only property of a column based on the content of the data?
<feature name="Updating"> <column-settings> <column-setting column-key="Id"> <editor-options read-only="{{IsReadOnly}}"></editor-options> </column-setting> </column-settings>
</feature>
I have 1 master record commic and child items title.
The object book contains a property to allow or disallow editing. If possible I would prefer to get the object Commic and the children (titles) in one server call.
Kind regards,
Erik
Hello Erik,
The grid custom Angular directive is processed only once at the time of the initialization, thus this syntax will work only once when the grid is created. At runtime you should use the API provided by the control as I demonstrate in this forum post of yours.
Hope this helps,Martin PavlovInfragistics, Inc.
Thank you for the answer.
We will try to implement the suggested solution.