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
140
error : cannot call methods on igtexteditor prior to initialization, attempted to call method 'value'
posted

I am getting javascript error while updating the cell values in iggrid after combo change in iggrid.

please any one help how to resolve this

function UserIdChange(evt, ui) {

                 var UserId = ui.items[0].data.Value; //Passing selected value to the controller and retriving json object
                 $.getJSON('GetUserData', { id: UserId}, function (data) {


                     var name_editor = $("#gridUserInformation").igGridUpdating("editorForKey", "Name");
                     name_editor.igTextEditor("value", data[0]);

                     var occupation_editor = $("#gridUserInformation").igGridUpdating("editorForKey", "Occupation");
                     occupation_editor.igTextEditor("value", data[1]);

                 });
             }