Skip to content
New issue

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

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

Already on GitHub? # to your account

Add context menu on row #621

Closed
wants to merge 1 commit into from
Closed

Add context menu on row #621

wants to merge 1 commit into from

Conversation

src200
Copy link

@src200 src200 commented Jan 5, 2022

Right now this supports only row-level operations like Duplicate and Delete.
I tried adding Copy and Paste which requires Cell position(rowIndex, columnIndex)
I see that react-data-grid doesn't have any event-handlers like onContextMenuClick that passes row and column info. only onRowClick has info on the position which is not very useful in this case.(adazzle/react-data-grid#1161 (comment))

On contrary, react-data-grid supports cell formatting/copy/paste by default by double-clicking the cell.

@src200 src200 mentioned this pull request Jan 5, 2022
@src200 src200 changed the title Add context menu to on row Add context menu on row Jan 5, 2022
@shamsmosowi shamsmosowi linked an issue Jan 5, 2022 that may be closed by this pull request
@shamsmosowi
Copy link
Member

Hi @src200,Thank you for submitting!
Upon review this PR is incomplete as it does not have the core requirement of the issue, ie. missing the copy and paste feature.

@shamsmosowi shamsmosowi closed this Jan 5, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Right click menu for cells
2 participants