$(function(){
$('#tt').treegrid({
title:'TreeGrid',
animate:true,
url:'serviceManager/showTreeGrid.shtml',
idField:'nodeDescId',
treeField:'nodeCode',
rownumbers:true,
pagination:true,
fitColumns:true,
autoRowHeight:false,
onBeforeExpand:function(row){
if(row){
$(this).treegrid('options').url='treeJson1.json';
} else {
$(this).treegrid('options').url = 'serviceManager/showTreeGrid.shtml';
}
}
});
});
这是本人js主体代码 现在是实现了翻页和异步加载 但是只要一按节点展开后再翻页就反复加载treeJson1.json 无法进入翻页的代码里面 求大神解答jqueryEasyUITreeGrid
$('#tt').treegrid({
title:'TreeGrid',
animate:true,
url:'serviceManager/showTreeGrid.shtml',
idField:'nodeDescId',
treeField:'nodeCode',
rownumbers:true,
pagination:true,
fitColumns:true,
autoRowHeight:false,
onBeforeExpand:function(row){
if(row){
$(this).treegrid('options').url='treeJson1.json';
} else {
$(this).treegrid('options').url = 'serviceManager/showTreeGrid.shtml';
}
}
});
});
这是本人js主体代码 现在是实现了翻页和异步加载 但是只要一按节点展开后再翻页就反复加载treeJson1.json 无法进入翻页的代码里面 求大神解答jqueryEasyUITreeGrid
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货