File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
packages/material-react-table/src/hooks Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -228,14 +228,18 @@ export const useMRT_TableOptions: <TData extends MRT_RowData>(
228
228
? getFacetedUniqueValues ( )
229
229
: undefined ,
230
230
getFilteredRowModel :
231
- enableColumnFilters || enableGlobalFilter || enableFilters
231
+ ( enableColumnFilters || enableGlobalFilter || enableFilters ) &&
232
+ ! manualFiltering
232
233
? getFilteredRowModel ( )
233
234
: undefined ,
234
- getGroupedRowModel : enableGrouping ? getGroupedRowModel ( ) : undefined ,
235
- getPaginationRowModel : enablePagination
236
- ? getPaginationRowModel ( )
237
- : undefined ,
238
- getSortedRowModel : enableSorting ? getSortedRowModel ( ) : undefined ,
235
+ getGroupedRowModel :
236
+ enableGrouping && ! manualGrouping ? getGroupedRowModel ( ) : undefined ,
237
+ getPaginationRowModel :
238
+ enablePagination && ! manualPagination
239
+ ? getPaginationRowModel ( )
240
+ : undefined ,
241
+ getSortedRowModel :
242
+ enableSorting && ! manualSorting ? getSortedRowModel ( ) : undefined ,
239
243
getSubRows : ( row ) => row ?. subRows ,
240
244
icons,
241
245
layoutMode,
You can’t perform that action at this time.
0 commit comments