currently the code in DFVIewer.tsx depends on a dumb timeout. This should probably run after an onGridReady event... but that also didn't work on the initial build.
const timer = setTimeout(() => {
gridRef.current!.columnApi.autoSizeAllColumns();
}, 150);
return () => clearTimeout(timer);
}, [gridRef]);
this code ocassionaly throws an error of
v.current is null
currently the code in DFVIewer.tsx depends on a dumb timeout. This should probably run after an onGridReady event... but that also didn't work on the initial build.
this code ocassionaly throws an error of
v.current is null