SpreadJS Documentation
Setting Edit Mode Always

You can set the cell to always be in edit mode.

Using Code

This example puts the cell in edit mode.

JavaScript
Copy Code
$(document).ready(function () {
    var spread = new GcSpread.Sheets.Spread($("#ss").get(0),{sheetCount:3});

    //Set to be always in input mode.
    spread.bind(GcSpread.Sheets.Events.EnterCell, function (event, data) {
        var sheet = data.sheet;
        sheet.startEdit(false);
    });
});
See Also

Developer's Guide

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.