trigger the 'rowExpand' event after, how to set icon 'loading'?
手动触发rowExpad事件,有点小问题。就是图标不是'loading'状态,怎么设置?
我参考了TreeGridRow.js里面,怎么在外部设置loading = true?
toggle(event) {
event.stopPropagation();
if (this.isExpanded){
this.$set(this.row, 'state', 'closed');
this.grid.$emit('rowCollapse', this.row);
} else {
this.loading = true;
this.$set(this.row, 'state', 'open');
this.grid.$emit('rowExpand', this.row);
}
},