Kendo UI Angular 2 种排序方法
Kendo UI Angular 2 Sortable Methods
如何使用 Methods of Kendo UI for Angular 2's Sortable 组件?
该文档未提供任何具体示例。
为未来的用户解答。
导入:
import {SortableComponent} from '@progress/kendo-angular-sortable';
包括:
export class ComponentName implements OnInit {
@ViewChild('sortable') public sortable: SortableComponent;
...
}
通话:
public addDataItemFunction() {
this.sortable.addDataItem('1', 0);
}
"addDataItem" 是方法。
元素:
<kendo-sortable #sortable ...></kendo-sortable>
希望对您有所帮助。
如何使用 Methods of Kendo UI for Angular 2's Sortable 组件?
该文档未提供任何具体示例。
为未来的用户解答。
导入:
import {SortableComponent} from '@progress/kendo-angular-sortable';
包括:
export class ComponentName implements OnInit {
@ViewChild('sortable') public sortable: SortableComponent;
...
}
通话:
public addDataItemFunction() {
this.sortable.addDataItem('1', 0);
}
"addDataItem" 是方法。
元素:
<kendo-sortable #sortable ...></kendo-sortable>
希望对您有所帮助。