Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.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
Grid 检查网格是否有聚合_Grid_Jqwidget - Fatal编程技术网

Grid 检查网格是否有聚合

Grid 检查网格是否有聚合,grid,jqwidget,Grid,Jqwidget,在jQWidgets网格中,有没有办法知道某个网格是否有聚合行 我在以下代码中遇到问题: var temp = $(gridId).jqxGrid('getcolumnaggregateddata', columnFields[i], ['sum']); 在调用上述代码之前,我想先检查网格中是否存在聚合。检查jqxgrid的“showaggregates”属性是否为true if( $("#" + gridId).jqxGrid('showaggregates') ) { // the

在jQWidgets网格中,有没有办法知道某个网格是否有聚合行

我在以下代码中遇到问题:

var temp = $(gridId).jqxGrid('getcolumnaggregateddata', columnFields[i], ['sum']);

在调用上述代码之前,我想先检查网格中是否存在聚合。

检查jqxgrid的“showaggregates”属性是否为true

if( $("#" + gridId).jqxGrid('showaggregates') ) {
    // there is...
}
else {
    // there is not...
}