Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
jQWidgets Grid 中有没有办法知道某个网格是否有聚合行?
我在以下代码中有问题:
var temp = $(gridId).jqxGrid('getcolumnaggregateddata', columnFields[i], ['sum']);
在调用上述代码之前,我想先检查网格中是否存在聚合。
检查您的 jqxgrid 是否具有具有真值的“showaggregates”属性
if( $("#" + gridId).jqxGrid('showaggregates') ) { // there is... } else { // there is not... }