Get the rows, range and rowIndex lookup map after filtering and sorting. Does not contain the collapsed children.

  • Parameters

    • apiRef: MutableRefObject<{
          instanceId: {
              id: number;
          };
          state: GridStateCommunity;
      }>

    Returns {
        range: null | {
            firstRowIndex: number;
            lastRowIndex: number;
        };
        rows: GridRowEntry<GridValidRowModel>[];
        rowToIndexMap: Map<GridValidRowModel, number>;
    }

  • Parameters

    • state: GridStateCommunity
    • instanceId: {
          id: number;
      }
      • id: number

    Returns {
        range: null | {
            firstRowIndex: number;
            lastRowIndex: number;
        };
        rows: GridRowEntry<GridValidRowModel>[];
        rowToIndexMap: Map<GridValidRowModel, number>;
    }

Properties

Properties

acceptsApiRef: boolean