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,
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,
Can we have a working example of updating a cell value on click of a button embedded in a grid in jQuery.
I am unable to do the things right.
Scenerio:
I need to have buttons in a grid row and then click on the button I need to change the cell value.
After changing multiple rows I need to update the changes to DB
Vinod
Hello Michael,
You can update the layout by calling explicitly $.ig.DataSource.dataBind() . Still if you don’t want to refresh the whole igGrid you can manually change the value on the client by going through the grid DOM and modifying directly the content of the <td></td> for the particular cell.
Please let me know if you need additional details on this.
Yes, Martin's suggestion works. Just like to confirm, after $.ig.DataSource.setCellValue API call, it need to call $.ig.DataSource.dataBind() to refresh whole grid or there is a way just refresh updated row?
I am still following your case. Have you been able to resolve your issue according to my suggestions?
Please feel free to contact me if you have any further questions regarding this matter.