diff --git a/src/view/container.tsx b/src/view/container.tsx index 40a5ef98..5aad491f 100644 --- a/src/view/container.tsx +++ b/src/view/container.tsx @@ -53,6 +53,8 @@ export function Container() { if (config.header && status === Status.Loaded && data?.length) { // now that we have the data, let's adjust columns width // NOTE: that we only calculate the columns width once + config.eventEmitter.emit('ready'); + dispatch( actions.SetHeader(config.header.adjustWidth(config, tableRef, tempRef)), );