0

我刚刚开始使用 JQuery 和 easyui。datagrid 控件看起来超级棒,但每次都使用 POST 调用我的 URL,即使我将方法设置为 GET。

 <table id="dg" title="Plan details" class="easyui-datagrid" style="width:550px;height:250px"
    url="/Plans"
    toolbar="#toolbar"
    method="GET"
    rownumbers="true" fitColumns="true" singleSelect="true">
  <thead>
    <tr>
            <th field="name" width="50">Name</th>
            <th field="description" width="100">Description</th>
    </tr>
  </thead>
</table>
<div id="toolbar">

</div>

谁能帮我这个 ?

科马克·基奥

4

1 回答 1

0

这里同样的问题。

我通过添加: data-options="method: 'get'" 来解决它。

于 2013-06-10T14:07:33.383 回答