-
Notifications
You must be signed in to change notification settings - Fork 122
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
Mention the selectedRanges for handleContextMenu in the documentation #359
Comments
@MarcusElg In fact, onContextMenu has a fifth parameter, selectedRanges, which is the selection range |
Great! That should definitely be mentioned in the documentation... |
Done,PR:silevis/reactgrid-website#25 |
@qiufeihong2018 , can you please check this again. I don't see "selectedRanges" mentioned in Docs. Thank you |
@webloopbox Is not yet published? @krishnamurti-brevitaz |
The docs have been recently updated |
Thank you @webloopbox |
I've added multiple custom actions such as removing a row. This works fine when selecting an entire row, but I would also be able to remove a row just by selecting a single cell, like it works in Google docs. However looking at https://reactgrid.com/docs/4.0/2-implementing-core-features/5-context-menu/ the only inputs are selectedRowIds and selectedColIds. Both these are empty arrays when the selection mode is "range". So how would access the selected positions?
The text was updated successfully, but these errors were encountered: