【发布时间】:2014-08-01 22:08:45
【问题描述】:
我需要能够根据特定条件取消单元格编辑操作。我正在使用beforeSaveCell 事件来实现这一点。我可以更改单元格的值,但不能拒绝新输入的值并保留旧值。请帮帮我...
beforeSaveCell: function (rowid, celname, value, iRow, iCol) {
if(some_condition)
return value;
else
//cancel the edit operation, how?
}
谢谢
【问题讨论】: