Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
600
AngularJS + databind gridoptions
posted

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

Parents
No Data
Reply
  • 23953
    Verified Answer
    Offline posted

    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 Pavlov
    Infragistics, Inc.

Children