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
500
Update grid cell value after combo value selected
posted

Hi there,

I'm using setCellValue of igGridUpdating to update a specific column cell value (assume on the same row) after combo value selection from another column, it throws "cannot call methods on igGridUpdating prior to initialization; attempted to call method 'setCellValue'" exception. 

Any solution? 

Thanks,

Michael

GridCombo.zip
Parents
No Data
Reply
  • 23953
    Offline posted

    Hello Michael,

    This error is caused by a known issue. You should change the grid placeholder to a TABLE element in order to use the grid updating feature API. However that's not the only problem. Calling setCellValue on a row which is currently in edit mode rises another error (which I guess is not supported scenario). To overcome the second problem, my suggestion is to change the editMode to 'row' and manipulate the other cell editor like demonstrated in the following sample: Editing Combo Editor.

     

    Hope this helps,

    Martin Pavlov

    Infragistics, Inc.

Children