Skip to content

How to get the reference to the data grid? #2066

@nanandn

Description

@nanandn

Hi, how do I set/get the ref to the data table node? I pass in a "ref" attribute, but the ref.current looks like

current:
scrollToColumn: ƒ scrollToColumn(idx)
scrollToRow: ƒ scrollToRow(rowIdx)
selectCell: ƒ selectCell(position, openEditor)

I am using react-data-grid": "7.0.0-canary.16

Thanks
Anand

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