asp.net mvc 2 - Catching a select change event from within a JqGrid -


I am working on an MVC project, which uses jacuzzide. In one of my grids, I have a subgreid, one of the columns within the subgroup is a dropdown list. I would like to capture the change event of this dropdown list so that I can set the default value of the next cell using the selected item.

I used the firebug to see the ID of HTML and tried the following code, which does not fire the warning.

  $ ('# MySelectId'). Change (work () {warning ('test');});   

The model edit form was used while using this approach, but I am using inline editing and when the user changes the dropdown list on the grid, then that event Would you like to catch

You can define property as a part of dataEvents < In Code> Data Events, you define your custom 'change' event handle and jqGrid will make the bond after the related mode is started in editing mode. See or example.

Comments