Posted 2 July 2018, 2:19 pm EST
Initially when a sheet is loaded everything is work fine but when I pressed next button to move next module then the new sheet is loaded and initialize spreadjs plugin and its binding functions again then this not editable issue occurs.
Here is the code of initialization -
$(“#msexcel_log”).wijspread({ sheetCount:1});
spreadsheet=$(“#msexcel_log”).wijspread(“spread”);
var fbx = new $.wijmo.wijspread.FormulaTextBox(document.getElementById(‘formula_box’));
fbx.spread(spreadsheet);
spreadsheet.grayAreaBackColor(“white”);
spreadsheet.scrollbarShowMax(false);
spreadsheet.scrollbarMaxAlign(true);
spreadsheet.showResizeTip(3);
spreadsheet.showDragDropTip(true);
spreadsheet.showScrollTip(3);
spreadsheet.repaint();
spreadsheet.bind(“EnterCell”, selectionChanged);
spreadsheet.bind(“EnterCell”,cell_record);
spreadsheet.bind(“SelectionChanged”,cell_record);
spreadsheet.bind(“ClipboardChanged”,cell_record);
spreadsheet.bind(“EditChange”,cell_record);
spreadsheet.bind(“SelectionChanged”, SelectionOperationChanged);
spreadsheet.bind(“EditChange”,selectionKeyChanged);
spreadsheet.bind(“ActiveSheetChanged”,sheetSelectionChanged);
spreadsheet.bind(“RowHeightChanged”,cellRowHeightChange);
spreadsheet.bind(“ColumnWidthChanged”,cellColumnWidthChange);
spreadsheet.bind(“DragFillBlockCompleted”,cellDragFillBlockCompleted);
spreadsheet.bind(“SheetTabDoubleClick”,sheetTabDoubleClicked);
spreadsheet.bind(“ClipboardChanged”,clipboardChanged);
spreadsheet.bind(“ClipboardPasted”,clipboardPasted);
spreadsheet.bind(“DragDropBlockCompleted”,dragDropBlockCompleted);
spreadsheet.autoFitType($.wijmo.wijspread.AutoFitType.Cell);
spreadsheet.allowUndo(true);
spreadsheet.useWijmoTheme = true;
spreadsheet.repaint();