JQuery EasyUI DataGrid 、tree查询

1、DataGrid查询

queryParams = $('#dg').datagrid('options').queryParams;
queryParams.action = 'target';
queryParams.jsid = _jsid;
$('#dg').datagrid('options').queryParams = queryParams;
$('#dg').datagrid('reload');

2、Tree查询

var _url = '../Source/System/jsMenu.aspx?action=query&&jsid=' + _jsid + "&&ran=" + Math.random()
$('#tree').tree({ url: _url });
$('#tree').tree('reload');

posted @ 2012-11-13 18:03  EasyPass  阅读(2167)  评论(0编辑  收藏  举报