With the jQuery EasyUI, we can create a grid table with the queryparams. here is the sample code
$('#dg').datagrid({
queryParams: {
name: 'easyui',
subject: 'datagrid'
}
});
However,what I am trying to achive is create queryparams inside the html tags like the belove code
<table id="tt" class="easyui-datagrid"
url="Service.asmx/GetReportByFilter"
rownumbers="true" pagination="true" data-options="singleSelect:true,collapsible:true,
method:'post'"
queryparams="{name: 'easyui',subject: 'datagrid'}">
</table>
It seeems that this part queryparams="{name: 'easyui',subject: 'datagrid'}" doent work.I mean no parameter to post the service called name and subject.It post only page and rows values
data-options="singleSelect:true,collapsible:true, method:'post',queryParams:{name:'easyui', subject:'datagrid'}"- Hilarius L. Doren