Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 启用分组时,jqgrid scroll不工作_C#_Jquery_Asp.net Mvc_Razor_Jqgrid - Fatal编程技术网

C# 启用分组时,jqgrid scroll不工作

C# 启用分组时,jqgrid scroll不工作,c#,jquery,asp.net-mvc,razor,jqgrid,C#,Jquery,Asp.net Mvc,Razor,Jqgrid,我正在使用jqGrid的“jquery.jqGrid-4.4.1”版本。我有巨大的数据显示在网格中,这就是为什么我需要在滚动动态加载。我将scroll设置为1,它可以正常工作,无需分组。下面是使用滚动但分组设置为false的示例 { .... rownum: 30, scroll: 1, grouping: false, groupingView : { groupField : ['BillTitle'], groupColumnShow : [true], gr

我正在使用jqGrid的“jquery.jqGrid-4.4.1”版本。我有巨大的数据显示在网格中,这就是为什么我需要在滚动动态加载。我将scroll设置为1,它可以正常工作,无需分组。下面是使用滚动但分组设置为false的示例

{
....
rownum: 30,
scroll: 1,
grouping: false, 
groupingView : { 
    groupField : ['BillTitle'],
    groupColumnShow : [true], 
    groupText : ['<b>{0}</b>'], 
    groupCollapse : false, 
    groupOrder: ['asc'], 
    groupSummary : [true], 
    groupDataSorted : true    
   }, 
}
{
....
rownum:30,
卷轴:1,
分组:false,
groupingView:{
groupField:['BillTitle'],
groupColumnShow:[正确],
groupText:['{0}'],
组崩溃:错误,
groupOrder:['asc'],
groupSummary:[true],
groupDataSorted:true
}, 
}
另一方面,当我将grouping设置为true dynamic load of scroll not working时,我需要使用jqgrid的grouping。以下是不工作,但我需要这两个功能

{
....
rownum: 30,
scroll: 1,
grouping: true, 
groupingView : { 
    groupField : ['BillTitle'],
    groupColumnShow : [true], 
    groupText : ['<b>{0}</b>'], 
    groupCollapse : false, 
    groupOrder: ['asc'], 
    groupSummary : [true], 
    groupDataSorted : true    
   }, 
}
{
....
rownum:30,
卷轴:1,
分组:对,
groupingView:{
groupField:['BillTitle'],
groupColumnShow:[正确],
groupText:['{0}'],
组崩溃:错误,
groupOrder:['asc'],
groupSummary:[true],
groupDataSorted:true
}, 
}
请帮帮我。非常感谢您的帮助。

正如上面所说:

限制

启用分组后,以下选项将显式设置到代码中:

scroll = false;
rownumbers = false;
treeGrid = false;
gridview = true (afterInsertRow does not fire too);
我遇到了同样的问题。
目前,没有实现这一目标的选择,但这将是非常好的。可能需要一些代码编辑。

我有完全相同的问题,但发现如果将rowNum设置为-1,它将显示所有分组数据。奇怪的是,在文档中,rowNum上的-1选项明显被删除了:

有人找到了答案吗?我需要我的项目。