我希望能够访问剑道所保留的内部状态,因此我可以拍摄快照'然后加载网格。这可能吗?
类似的东西:
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
}
}
任何帮助将不胜感激。谢谢!