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... }