I have one jsp page with jqgrid I want to pass that grid data to action class.I am editing jqgrid data using cellEdit and now i want to pass this new data to action class to update this data in database.How can i pass the jqgrid data from jsp to action class?
<sjg:grid id="gridtable" caption=" " dataType="json"
href="%{listurl}"
gridModel="listMS_AUTONUMBER"
cellEdit="true"
cellurl="%{cellediturl}">
<sjg:gridColumn frozen="false" name="autonumberCd" index="autonumberCd" title="%{getText('autonumber.autonumbercode')}"
sortable="true" search="true" editable="true" key="true" editoptions="{maxlength :2}"
editrules="{required:true,custom:true,custom_func:validateCapitalAlphanumeric}" formatter="String" formoptions="{elmsuffix:' *'}"/>
<sjg:gridColumn name="autonumberNm" index="autonumberNm" title="%{getText('autonumber.autonumbername')}"
sortable="true" editable="true" edittype="text" editrules="{required:true}" editoptions="{maxlength :10}" formoptions="{elmsuffix:' *'}" />
<sjg:gridColumn name="nextAutonumber" index="nextAutonumber" title="%{getText('autonumber.nextautonumber')}"
sortable="true" editable="true" edittype="text" editrules="{required:true,custom:true,custom_func:validateNumericOnly}" editoptions="{maxlength :10}" align="right" formoptions="{elmsuffix:' *'}" />
</sjg:grid>
This is my jqgrid in which listMS_AUTONUMBER
is list which retrieves value from database and coming from another action class.