Skip to content

expose method to get coordinates of a grid item?Β #864

@giladgray

Description

@giladgray

v1 had an internal _getItemStyle(row, col) method on the VariableSizeGrid ref that I used to great effect to implement a spreadsheet selection region. I am looking at v2 and do not see a similar method. would it be possible to expose a first-party (not _'ed) method to solve this use case?

for context, Virtua exposes handy ref methods here: https://github.com/inokawa/virtua/blob/main/src/react/VGrid.tsx#L143-L154

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions