flexgrid.beginningEdit.addHandler((s, e) => {
console.log(this.data)
let col = s.columns[e.col];
if(e.col==4&&col){
this.data[e.row].overdue=true;
e.cancel = true;
}
});
flexgrid.cellEditEnding.addHandler((s, e) => {
console.log(this.data)
e.cancel = true;
});
flexgrid.cellEditEnded.addHandler((s, e) => {
console.log(this.data)
e.cancel = true;
});三个事件都不行 |