有没有办法获得剑道角(2)网格的完整状态?

时间:2017-12-12 02:10:05

标签: kendo-ui kendo-grid kendo-ui-angular2

我希望能够访问剑道所保留的内部状态,因此我可以拍摄快照'然后加载网格。这可能吗?

类似的东西:

class SomeGridComponent {
  public grid: GridComponent;  


  // (onDataStateChange)="onDataStateChangeHandler($event)"
  onDataStateChangeHandler(event) {

    // get the full state including sorts, groups, etc.
    const fullGridState = this.grid.getOptions();  // I noticed a similar method in kendo jquery grid
  }

}

任何帮助将不胜感激。谢谢!

0 个答案:

没有答案