Interface NextLevelRendererOptions

The grid supports child grids. The child grids are called grid levels. The inner level renderers can be used to display a grid, a chart, a map, or any other type of data. In the following example, we are using the inner level renderer to display a grid. https://reactdatagrid.com/examples/?example=Level_Renderer

In this example, we are using the inner level renderer to display a a left and a right locked section that render their own data in addition to the main grid. https://reactdatagrid.com/examples/?example=Level_Renderer_Locked

Hierarchy

  • NextLevelRendererOptions

Properties

nextLevelRenderer?: ((node: RendererProps) => unknown)

Type declaration

    • (node: RendererProps): unknown
    • The next level renderer. The next level renderer is used to display a grid, a chart, a map, or any other type of data.

      Parameters

      Returns unknown

nextLevelRendererHeightFunction?: ((item: unknown) => number)

Type declaration

    • (item: unknown): number
    • The next level renderer height function. This is used to control the height of the next level renderer.

      Parameters

      • item: unknown

        The item that is being rendered.

      Returns number

nextLevelRendererLeftLocked?: ((node: RendererProps) => unknown)

Type declaration

    • (node: RendererProps): unknown
    • The next level renderer for the left locked section.

      Parameters

      Returns unknown

nextLevelRendererRightLocked?: ((node: RendererProps) => unknown)

Type declaration

    • (node: RendererProps): unknown
    • The next level renderer for the right locked section.

      Parameters

      Returns unknown

showNextLevelRenderer?: ((item: unknown) => boolean)

Type declaration

    • (item: unknown): boolean
    • Allows you to control whether or not the next level renderer is shown.

      Parameters

      • item: unknown

      Returns boolean

Generated using TypeDoc