0
ボタンをクリックしてTreelistから行を削除したいと思います。私はイベント「click:remove」で関数をバインドします。まず、行を選択し、次にDataSourceからオブジェクトを削除しようとします。そして、この点は正しくありません。Treelist剣道から行を削除
remove: function() {
var that = this;
if (this.isGridSelected) {
var arr = [];
arr = this.selectedRow.toJSON();//this line show selected row
this.roleDataSourcePrzypisane.remove(this.arr);//I think this row is wrong ...Remove no work
console.log(this.roleDataSourcePrzypisane);
this.set("roleDataSourcePrzypisane", this.roleDataSourcePrzypisane);
} else {
iwInfo('Please choose row', 'warning');
}
}