1金币
最佳答案您好,目前没有属性可以直接控制禁止滚动,不过您的需求可以通过监听事件来实现
sheet.bind(GC.Spread.Sheets.Events.EditStarting, function (sender, args) {
var toprow = sheet.getViewportTopRow(1);
sheet.bind(GC.Spread.Sheets.Events.TopRowChanged, function (sender, args) {
sheet.showRow(toprow);
});
});
sheet.bind(GC.Spread.Sheets.Events.EditEnded, function (sender, args) {
...
| |
| |