react-data-table-component-extensions icon indicating copy to clipboard operation
react-data-table-component-extensions copied to clipboard

useRef with link inside cell

Open caycodes opened this issue 1 year ago • 0 comments

Hi! I was working with the column feature, specifically the cell inside. Within my cell, I am returning a text component. I would like this text component to have a ref on it, but every time I try to use ref, it comes out as null cell: ref={(node) => (console.log(node)}. I was wondering why this is and if there is another way I would be able to access this ref within the react-data-table component? Thanks so much for your time and help!

caycodes avatar Jun 28 '23 16:06 caycodes