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
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.
Hello,
I am just implementing igGrid Column "Updating" feature. But I am getting Error: "cannot call methods on igGridUpdating prior to initialization; attempted to call method 'setCellValue'" exception. on cell Update of current row. the value should reflect on "Total" column, when rate/unit column updated (e.g. Total = Rate * Unit)
I tried solutions provided by you, but i am not getting where it supposed to apply.
Can you please send me exact updated solution/code patch for this exception ?
Yuvraj
Hi Martin,
Thanks for suggestion. Changing placeholder to TABLE doesn't solve the problem.
Our business application requires "cell" editMode instead of "row". So do you mean there is no workaround or fixes that allows to update another cell value after picking a value from combo dropdown?