'Uncaught TypeError: can't access property "newAgStackInstance", compDetails is undefined
const defaultColDef = useMemo(() => {
return {
menuTabs: ["generalMenuTab"],
editable: true,
sortable: true,
flex: 1,
minWidth: 100,
filter: true,
resizable: true,
//This is the erroneous part
headerComponent: CustomHeader,
};
}, []);
Is this syntax deprecated ? I can't find anything related to this in the internet.
Thanks in advance.
Solution 1:[1]
You need to replace headerComponent
with headerComponentFramework
. I'm guessing their documentation is just outdated
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | 0x777C |