Replies: 1 comment
-
| 
 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
I've encountered an issue related to typescript when providing a callback function to the onScroll prop. The typescript error suggests that the prop expects a callback with an argument of type ScrollState, but the current handler of DataGrid component returns a React.UIEvent (HTML event).
I'm using the following versions:
"@types/react-data-grid": "^4.0.12","react-data-grid": "^7.0.0-beta.42",Has anyone else faced this issue, and if so, what workarounds or best practices have you employed to resolve it without resorting to using the any type?
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions