igGrid では、Summaries 機能を利用することで集計(集計行)を表示することができます。デフォルトでは全ての列に対して集計が行われますが、allowSummaries オプションを利用することで、集計が不要な列を集計対象から除外することができます。
id 列と title 列を、集計対象から除外する例
$('#grid1').igGrid({
primaryKey: 'id',
width: '600px',
dataSource: books,
columns: [
{
key: 'id',
headerText: 'id',
dataType: 'number',
width: '200px'
},
{
key: 'title',
headerText: 'タイトル',
dataType: 'string',
width: '200px'
},
{
key: 'unitsSold',
headerText: '販売数',
dataType: 'number',
width: '200px'
}
],
features: [
{
name: 'Summaries',
columnSettings: [
{ columnKey: 'id', allowSummaries: false },
{ columnKey: 'title', allowSummaries: false }
]
}
]
});
実行結果
id 列と title 列(タイトル列)には集計が表示されず、unitsSold 列(販売数列)のみに集計が表示されました。

- API リファレンス