Hi,

Im trying to implement a jqgrid in my web page but not able to handle delete i.e. if the user selects multiple values, and clicks on delete, i want to invoke a servlet that will handle the delete and return to the page. Please help, the code snippet is as below
Code:
        <script type="text/javascript">
            function fillGridOnEvent(){
                $("#jQGrid").html("<table id=\"list\"></table><div id=\"page\"></div>");
                jQuery("#list").jqGrid({
                    url:'<%=request.getContextPath()%>/MyServletGrid?q=1&action=fetchData',
                    datatype: "xml",
                    mtype: 'POST',
                    height: 423,
                    colNames:['##','Keyword','Category','ViewType',"Action"],
                    colModel:[
                        {name:'srNo',index:'srNo', width:30,sortable:true,align:'center'},
                        {name:'Keyword',index:'Keyword', width:200,sortable:true},
                        {name:'Category',index:'Category', width:100,sortable:true,align:'center'},
                        {name:'ViewType',index:'ViewType', width:100,sortable:true,align:'center'},
                        {name:'view',index:'view', width:113,sortable:false,align:'center'}
                    ],
                    multiselect: true,
                    paging: true,
                    rowNum:18,
                    pager: $("#page"),
                    loadonce:true,
                    caption: "Test JQGrid"
                }).navGrid('#page',{edit:false,add:false,del:true});
            }
            jQuery().ready(function (){
                //fillGrid();                    rowList:[10,20,30],
            });
Thanks,
Deepna