Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot select individual column headers using shift click or ctrl click on MacOS #77

Open
olgibbons opened this issue Sep 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@olgibbons
Copy link

I could only drag and select adjacent column headings. I tried both shift click and ctrl click on MacOS, but it didn't seem to work.

@olgibbons olgibbons added the bug Something isn't working label Sep 25, 2024
@rossjones
Copy link
Collaborator

Are you trying to select non-contiguous cells in the selection to act as headers? e.g. columns 1, 3 and 5?

@rossjones
Copy link
Collaborator

rossjones commented Sep 26, 2024

I managed to get it to work with CTRL+Click. You have to click on the first one without holding control, but then hold down CTRL when you select the other cells. There are however two downsides to this currently:

  • It shows the context menu (as if I had right-clicked)

  • It doesn't store the selection correctly as we currently store top-left row+column and bottom-right row+column so expect a contiguous range. What happens in this case is that the selection ends up being the last selected cell. We would need to properly handle multiple-selections.

#81 makes a start on this by switching the key combo to cmd on mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants