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]); }); }
Hi Stamen,
code I have written above is working fine but the case is there is no existing rows in grid.
I am getting error, if I am in edit grid (already some rows are there in grid). it is not working for add new row as well as editing the current row
Hello,
Could you please try to reproduce this behavior in the sample I sent with my previous post? I enabled and tried adding rows through the UI and the code works perfectly for this use-case as well.
Again, please, feel free to modify it so that the behavior is observable and attach the modified version along with steps to reproduce so that I can look into it further.
Best regards,
Stamen Stoychev