Dear Syncfusion Team,
I am trying to do a couple of things :
1. Manage selection for protected cells
I would like to find a way to prevent a user from being able to select a locked cell in a spreadsheet. Right now, the user can select a cell even though it's locked (either by single-clicking the cell in question or navigating to it via the keyboard). If he double-clicks the cell to edit its content, he is then presented with a message saying that the cell is locked. Is there a way to prevent the user from even selecting the cell in the first place?
If the cell A2 is locked and that the currently selected cell is A1 (assuming A1 is an unlocked cell), I don't want the user to be able to use the keyboard's right arrow to navigate to A2. Instead, it should jump to the cell A3 (assuming it's an unlocked cell). The same goes for using the mouse. If the user clicks on A2, it should do nothing and keep A1 selected.
If the selected cell is the last unprotected cell of the row, using the keyboard to navigate further on the row should be prohibited. Instead, if the last unprotected cell of a row is selected, clicking the right key on the keyboard should select the first unprotected cell of the next row containing an unprotected cell.
If the selected cell is on the last row containing an unprotected cell on the spreadsheet, pressing the right or bottom keys on the keyboard should select the first unprotected cell found at the top of the spreadsheet.
Here is an example of the desired behaviour (simulated in MS Excel) :
2. Fix a scrolling issue
I am experiencing an issue where when scrolling is disabled, I can still manually scroll using the keyboard arrows. If I go past the visible section of the spreadsheet using the keyboard, the page then scrolls down. The problem is that when I use the keyboard to scroll back up, the page keeps scrolling down. Here is a preview :
3. showSheetTabs + [showHeaders] breaks the spreadsheet
In the latest version of the spreadsheet component, a combination of [showSheetTabs] and [showHeaders] parameters values triggers different errors. With different combinations, different errors occur. Somehow the [showSheetTabs] parameter breaks the lines of code involving changing the row height programatically and the [showHeaders] parameters seems to break the cell editing functionality (either by double-clicking the cell or starting to type on the keyboard). Is this a known issue? Here is a description of the different combinations :
[showHeaders] = true + [showSheetTabs] = true = Behaviour is OK, but not the styling desired (I want to hide these)
[showHeaders] = true + [showSheetTabs] = false = Error when trying to edit cell content
[showHeaders] = false + [showSheetTabs] = true = Error on line(s) using .setRowHeight() and .setColumnWidth() on spreadsheet created() event
[showHeaders] = false + [showSheetTabs] = false = Both errors described above are triggered
Here is a stackblitz I created to reproduce all of these issues :
Any help would be greatly appreciated.
Thank you
Remy