Interface UniqueIdentifierOptions

UniqueIdentifierOptions is used to specify how to uniquely identify a row. For hierarchical grids, this is needs to be globally unique.

Hierarchy

  • UniqueIdentifierOptions

Properties

useField?: string

A field in the data that uniquely identifies the row. This is used to uniquely identify the row.

useFunction?: ((data: unknown) => string)

Type declaration

    • (data: unknown): string
    • A function that returns a unique identifier for the row. Cannot be used in hierarchical grids. Suitalble for smaller datagrids. For larger datagrids, use the useField option instead.

      Parameters

      • data: unknown

      Returns string

useIndex?: boolean

Use the index of the row as the unique identifier. Cannot be used in hierarchical grids. Cannot be used with filters. Please use the useField option instead.

Generated using TypeDoc