Angular2 Kendo 在过滤器更改后获取或读取网格结果

用户3194721

我在 Kendo Grid 中过滤数据。我想在 .ts 级别读取这些数据。我正在使用 dataStateChange 事件,但我没有得到过滤器记录。我应该使用哪个事件来获取过滤器数据?

    <kendo-grid [kendoGridBinding]="UI.GridData"
                [selectable]="true"
                [sortable]="true"
                [filterable]="true"
                (selectionChange)="UI.GridData_SelectionChanged($event)"
                (dataStateChange)="UI.dataStateChange($event)">

 public dataStateChange(event: DataStateChangeEvent) {

      }
用户3194721
(filterChange)="filterChange($event)"

 public filterChange(filter: CompositeFilterDescriptor) {       
        filterBy(GridData, filter);
      }

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章