Skip to content

Commit 898ce3c

Browse files
committed
Expand the filteredChildrenCountLookup description
1 parent 3063a2a commit 898ce3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/x-data-grid/src/hooks/features/filter/gridFilterState.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export interface GridFilterState {
2424
/**
2525
* Amount of children that are passing the filters or have children that are passing the filter (does not count grand children).
2626
* If a row is not registered in this lookup, it is supposed to have no descendant passing the filters.
27+
* If `GridDataSource` is being used to load the data, the value is `-1` if the children count is unknown.
2728
*/
2829
filteredChildrenCountLookup: Record<GridRowId, number>;
2930
/**

0 commit comments

Comments
 (0)