We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b033b commit 2920ac4Copy full SHA for 2920ac4
src/datagrid.tsx
@@ -109,7 +109,12 @@ export const Datagrid = <T extends DataSourceType>(props: DatagridProps<T>) => {
109
};
110
111
const renderToolbarSection = (elements: JSX.Element[]) => {
112
- return elements.filter(e => e.type === Pager).length > 0 && renderPaginationControls(filteredData.length)
+ return(
113
+ <>
114
+ {elements.filter(e => e.type !== Pager)}
115
+ {elements.filter(e => e.type === Pager).length > 0 && renderPaginationControls(filteredData.length)}
116
+ </>
117
+ );
118
}
119
120
return (
0 commit comments