Skip to content

Add selection example#75

Merged
texodus merged 24 commits intofinos:masterfrom
JHawk:add-selection-example
Aug 4, 2020
Merged

Add selection example#75
texodus merged 24 commits intofinos:masterfrom
JHawk:add-selection-example

Conversation

@JHawk
Copy link
Copy Markdown
Contributor

@JHawk JHawk commented Jun 30, 2020

This is a composite example adding 3 different mouse selection methods to <regular-table> - row, column and area. Each literate example has a single function to add its respective behavior - addRowMouseSelection(), addColumnMouseSelection() and addAreaMouseSelection(). Finally, I've added a composite example that applies each of the behaviors into a single example seen in the gif attached.

Also includes an example use of area selection in implementing copy/cut, paste using the keyboard with addAreaClipboard().

selection

clipboard copy, paste, cut

@JHawk JHawk force-pushed the add-selection-example branch from 1589ca3 to 527dc66 Compare July 2, 2020 13:27
@texodus
Copy link
Copy Markdown
Member

texodus commented Aug 4, 2020

Thanks for the PR!

Very, very cool feature, great test coverage also. Let's make sure to add this to the gallery!

@texodus texodus merged commit e657fcf into finos:master Aug 4, 2020
@texodus texodus added documentation Improvements/bugs/changes to documentation enhancement Feature requests or improvements and removed documentation Improvements/bugs/changes to documentation labels Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature requests or improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants