diff --git a/src/plugin-hooks/useFlexLayout.js b/src/plugin-hooks/useFlexLayout.js index 8acc509..0a72adb 100755 --- a/src/plugin-hooks/useFlexLayout.js +++ b/src/plugin-hooks/useFlexLayout.js @@ -16,7 +16,7 @@ export const useFlexLayout = props => { hooks: { columns: columnsHooks, getRowProps, - getHeaderRowProps, + getHeaderGroupProps, getHeaderProps, getCellProps, }, @@ -54,7 +54,7 @@ export const useFlexLayout = props => { api.rowStyles = rowStyles getRowProps.push(() => rowStyles) - getHeaderRowProps.push(() => rowStyles) + getHeaderGroupProps.push(() => rowStyles) getHeaderProps.push(column => ({ style: {