问题描述
- MVC EasyuiDatagrid多条件查询,怎么把数据传到后台
-
前台数据分页绑定,都已经做好了,想做个查询,多条件的,怎么点查询,把数据传到后台,后台处理后返回数据,前台怎么再绑定
解决方案
load param Load and show the first page rows. If the 'param' is specified, it will replace with the queryParams property. Usually do a query by passing some parameters, this method can be called to load new data from server.
$('#dg').datagrid('load',{
code: '01',
name: 'name01'
});
解决方案二:
datagrid里面不是可以添加参数么?queryParams,json类型随便加
时间: 2024-12-01 16:53:49