Did you mean 'rowKeyGetter' #3490
                  
                    
                      Lihaha7788787
                    
                  
                
                  started this conversation in
                General
              
            Replies: 0 comments
  
    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.
-
<ReactDataGrid
columns={columns}
rowGetter={i => rows[i]}
rowsCount={3}
minHeight={150}
Type '{ columns: { key: string; name: string; }[]; rowGetter: (i: any) => { id: number; title: string; count: number; }; rowsCount: number; minHeight: number; }' is not assignable to type 'IntrinsicAttributes & DataGridProps<unknown, unknown, Key> & RefAttributes'.
Property 'rowGetter' does not exist on type 'IntrinsicAttributes & DataGridProps<unknown, unknown, Key> & RefAttributes'. Did you mean 'rowKeyGetter'?ts(2322)
(property) rowGetter: (i: any) => {
id: number;
title: string;
count: number;
}
Beta Was this translation helpful? Give feedback.
All reactions