Spread.Sheets 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

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);
     });
                      }

See Also

Developer's Guide

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.