Skip to content

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

Closed

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

Activity

  1. igoriok1994 commented on Jun 30, 2020

    @igoriok1994

    #2038 Also related

  2. added a commit that references this issue on Jan 19, 2021
  3. locked and limited conversation to collaborators on Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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