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
975
how to set a cell value based on a button
posted

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.