$("#spreadContainerEdit").wijspread({ sheetCount: 1 });
var spread2 = $("#spreadContainerEdit").wijspread("spread");
var activeSheet2 = spread2.getActiveSheet();//
activeSheet2.setRowCount(rowCount, $.wijmo.wijspread.SheetArea.viewport);//设置行数
activeSheet2.setColumnCount(columnCount, $.wijmo.wijspread.SheetArea.viewport);//设置列数
activeSheet2.setDefaultStyle(defaultStyle, $.wijmo.wijspread.SheetArea.viewport);
这是我的初始化表格代码,这样的话,焦点会默认出现在表格的第一个行第一列的位置,
我如何才能不让焦点出现在excel表格当中?
|
|