(Thanks for your quick response)
Sorry: no luck.
- First issue (lack of page & rows parameters on first request) now is solved
- But second one ( infinite request loop when response is "empty" {"total":0,"rows":[]} ) still persists
Again: when using scrollview in main datagrid everything works. Failure is only shown when using scrollview in subgrids
EDIT:
This one-liner patch solves second issue; but no idea about collateral effects
easyui-1.4.2/extensions/datagrid-view/datagrid-scrollview.js
--- datagrid-scrollview.js 2015-07-13 03:56:21.000000000 +0200
+++ AgilityContest/agility/lib/jquery-easyui-1.4.2/extensions/datagrid-view/datagrid-scrollview.js2015-07-13 09:35:13.773157146 +0200
@@ -374,7 +374,7 @@
if (data.rows && data.rows.length){
callback.call(opts.view, data.rows);
} else {
- opts.onLoadSuccess.call(target, data);
+ if (data.total!=0) opts.onLoadSuccess.call(target, data);
}
}, function(){
$(target).datagrid('loaded');
Juan Antonio