tui.grid icon indicating copy to clipboard operation
tui.grid copied to clipboard

next js how to get grid->ref

Open jijoungsoo opened this issue 3 years ago • 0 comments

import dynamic from "next/dynamic" const Grid = dynamic(() => import("@toast-ui/react-grid"), { ssr: false })

const gridRef = useRef(null); <Grid ref={gridRef}>

but I can't use this code because i show [ref] is not attribute

so gridRef.current.getInstance();

How can I use Grid Instance?

help me !

jijoungsoo avatar Jun 08 '22 15:06 jijoungsoo