Skip to content

Conversation

gjmooney
Copy link

Add 'Hide Column' option to column context menu.

  • Can hide all columns
  • Can hide one column
  • Can show all hidden columns

Issues:
Hiding a second column has some issues, this is because the column index that comes from the Hit Test result on a mouse click appears to be calculated based on the displayed grid, and the transforms are applied based on column index. So if you hide the original first column, the second column becomes the 'new' first column, and when you try to hide that 'new' column 1, index 1 already has a transform applied and nothing happens.

@martinRenou
Copy link
Member

I will rebase your PR

@gjmooney gjmooney marked this pull request as ready for review June 12, 2024 12:38
@wnaldj1589TW wnaldj1589TW mentioned this pull request Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants