![](/img/trans.png)
[英]How do I hide "Empty" results in Angular 2 Kendo UI Sortable?
[英]Kendo UI Angular 2 Sortable Methods
為將來的用戶作答。
導入 :
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>
希望這可以幫助。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.