サイトアイコン INFRAGISTICS ナレッジ ベース

igxGrid:フィルター適用後のデータ行を取得する

IgxGridComponentのfilteredDataアクセサよりフィルター後のデータコレクションを取得することができます。
let filteredData = this.grid1.filteredData;

以下のサンプルでは、filteringDoneイベントで現在の表示行数をグリッドの上に表示します。

https://stackblitz.com/edit/github-hxsqjn-peew4k?file=src/app/grid/grid-excel-style-filtering-sample-1/grid-excel-style-filtering-sample-1.component.html
結果

 

リファレンス

 


モバイルバージョンを終了