日期:2014-05-19  浏览次数:20634 次

jqgrid能不能传递序列化的表单数据?
页面代码类似
HTML code

<s:form id="searchVoForm">
    <table id="searchVoInfo" class="form_table" width="100%" border="1" cellpadding="0" cellspacing="0">       
        <tr>
            <td class="td_title_right" width="10%"><s:label value="项目名称 " /></td>
            <td width="40%" align="left">
                <s:textfield id="proName" name="searchVo.proName" size="30" maxlength="50" cssStyle="width:155px"/>
            </td>
            <td class="td_title_right" width="10%"><s:label value="建设地区" /></td>
            <td width="40%" align="left">
                <s:textfield id="buildArea" name="searchVo.buildArea" size="30" maxlength="50" cssStyle="width:155px"/>            
            </td>
        </tr>        
    </table>
</s:form>
<div style="padding: 4px 0px 4px 0px; text-align: center;">    
    <div id="searchId" onclick="searchProList();">查询</div>
    <div id="clearId" onclick="clearParam();">清空</div>
</div>
<div id="proGrid" class="ui-layout-west ui-widget ui-widget-content">
    <table id="proList" width="100%"></table>
    <div id="pager" style="width: 100%;"></div>
</div> 


查询条件、方式都是固定的 所以不用jqgrid的查询,页面上查询部分和jqgrid的显示是分开的, 
有没有办法将$("#searchVoForm").serializeArray()参数通过jqgrid传至后台?
求大侠们解惑啊!

------解决方案--------------------
如何解决的??