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

sheet: support hyperlink-like capability in cells #294

Closed
liquidaty opened this issue Nov 19, 2024 · 3 comments
Closed

sheet: support hyperlink-like capability in cells #294

liquidaty opened this issue Nov 19, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request sheet issue related to sheet command

Comments

@liquidaty
Copy link
Owner

liquidaty commented Nov 19, 2024

Use case example: pivot table (see #293) drill-down.

After running and viewing a pivot table, each cell of the first column of the table should be visually different (e.g. blue+underline) to indicate that it has a "hyperlink"-like capability. When the user navigates to any such cell and presses Return, it should initiate a callback that "drills-down" into that cell and shows a new buffer with only the rows of data that correspond to that single row of the pivot table.

Implementation can be:

  1. Extend key event handler registration to offer buffer-specific event handler
  2. Add API function to specify a list of screen_buffer cells and their related format; store this as a 2D vector element stored as an additional property of the screen buffer struct
@liquidaty liquidaty added enhancement New feature or request sheet issue related to sheet command labels Nov 19, 2024
@liquidaty
Copy link
Owner Author

WIP: #296

@liquidaty
Copy link
Owner Author

See #302

@liquidaty liquidaty self-assigned this Nov 26, 2024
@liquidaty
Copy link
Owner Author

Demonstrated in mysheet_extension.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sheet issue related to sheet command
Projects
None yet
Development

No branches or pull requests

1 participant