#104814
Winston SocialApps
Participant

or is this wierd behaviour is because I used Grid as functional component?


const MyComponent:FC=() => {
const {datasource} = useGridHooks();
const {getColumns, onRowExpand} = useGridEvents();

useEffect(()=>{

},[])

 

return (
<Grid
columns={getColumns}
datasource={datasource}
onRowExpand = {onRowExpand}
/>
)
}

Is this supported approach?