You can set the cell to always be in edit mode.
This example puts the cell in edit mode.
| JavaScript |
Copy Code
|
|---|---|
window.onload = function() { var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"),{sheetCount:3}); var activeSheet = spread.getActiveSheet(); // Set to be always in input mode. spread.bind(GC.Spread.Sheets.Events.EnterCell, function (event, data) { var sheet = data.sheet; activeSheet.startEdit(false); }); } |
|