Jqgrid inline editing sends JSON data. But Inline delete sends FORMs data . I need to send data to web method using JSON data only

heres how I inserted delete button in grid

colmodelMob is my colModel array

  colmodelMob.push(
                {
                    label: "Edit Actions",
                    name: "actions",
                    width: 100,
                    formatter: "actions",
                    formatoptions: {
                        keys: true,
                        editOptions: {},
                        addOptions: {},
                        delOptions: {}
                    }       
                }); 

Its basically because a confirmation box pops up asking server conformation for row delete. But i dont need that I need my data to be sent as JSON else it wont hit the webmethod.

Related posts

Recent Viewed