I would like to set a cell value when a button is clicked.
The code I used
$("#myGrid").igGridUpdating("setCellValue", 1, "contactName", "test");
But it does not work and complain the following.
"cannot call methods on igGridUpdating prior to initialization; attempted to call method 'setCellValue'"
Please help.
Hi ,
could you let me know which version of jQuery UI you are using? They've recently made some changes related to that, and AFAIK this error message is specific to 1.9.
Thanks,
Angel
Yes, you are right. I have been using the jquery-ui-1.9.0.js. There is no initialization error after I swap it with jqueryui/1.8.21. However, I still could not set the cell value using the following api. The value just did not get changed. Do you have any idea? Thanks for your help.
$("#grid1").igGridUpdating("setCellValue", 1, "ColKeyName", "xxxxx");