Skip to content

Mention the selectedRanges for handleContextMenu in the documentation #359

Closed
@MarcusElg

Description

@MarcusElg

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions