-
Bug
-
Resolution: Unresolved
-
Normal
-
5.10.0
-
None
-
None
Steps to Reproduce
<spreadsheet id="ss" width="100%" vflex="1" showContextMenu="true" showSheetbar="true" showToolbar="true" showFormulabar="true" showSheetTabContextMenu="true" />
1. new a blank book from the toolbar
2. enable sheet protection
3. uncheck "select locked cells" and "select unlocked cells", OK
Current Result
selection box still visible
Expected Result
selection box should disappear
Debug Information
1. according to Spreadsheet.protect()
protect: function (v) { var sheetCtrl = this.sheetCtrl; if (sheetCtrl) { sheetCtrl.fireProtectSheet(v); var ls = sheetCtrl.getLastSelection(); if (v) { if (!sheetCtrl.isRangeSelectable(ls.left, ls.top, ls.right, ls.bottom)) { sheetCtrl.hideCellFocus(); sheetCtrl.hideCellSelection(); } } else { ...}
It should hide cell selection